Closed (fixed)
Project:
Front Page
Version:
6.x-1.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2008 at 06:14 UTC
Updated:
13 Aug 2008 at 18:04 UTC
I read that front page can assign a different style sheet for just the home page. I have my custom html in the box for all users and its working well. However i would like to style the main content box different for just the home page. I looked in the docs and support requests and found no answers.
Comments
Comment #1
Phillip Mc commentedThere's a number of ways of doing that:
(a) using the FULL HTML option you can point to a seperate CSS file (to your theme CSS) in the HEAD of your HTML markup
(b) Assign a unique DIV name for your main content box in your page.tpl.php file using the
$is_frontflag. e.g.<?php If ($is_front){ ?><div id="content-front><?php } ?>and declare your#content-frontcss in your theme style sheet.Comment #2
Phillip Mc commented