Closed (fixed)
Project:
Zen
Version:
6.x-2.1
Component:
CSS/HTML markup
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2011 at 17:18 UTC
Updated:
23 Oct 2011 at 02:20 UTC
Hi all,
This works ok to push down my second sidebar but can anyone please tell me how I can I apply this to just the home page?
.region-sidebar-second {
margin-top: 405px !important;
}
This works (but only for the bottom of the page = below the blocks) = http://jurim.info
#node-1 {
border: 9px dotted orange;
}
Can I select the .region-sidebar-second for just the home page with something like this?
#node-1 .region-sidebar-second {
margin-top: 405px !important;
}
Any suggestions please?
Thank you
Comments
Comment #1
rayvan commentedCreate node-front.tpl within your theme or subtheme directory, add drupal_add_css(); referencing your custom css file for frontpage.
http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_ad...
Comment #2
echoz commentedThis was cross posted from the forum where I answered it (as well addressing the layout issue) there. This can be done entirely with css since when on the front page, there is a ".front" class on the body element.