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

rayvan’s picture

Assigned: Unassigned » rayvan
Status: Active » Fixed

Create 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...

echoz’s picture

Component: Miscellaneous » CSS/HTML markup
Assigned: rayvan » Unassigned

This 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.