Fixed footer position – get page name/id into css class
-
In desperate need of help.
I am making a custom theme for a client, and they are adamant that the footer be at a specific height on most pages. Problem is I can’t get this to work.
I’m using blueprint.css for my theme (https://www.blueprintcss.org/tests/parts/grid.html). I’ve tried a bunch of things, and my last resort was using a spacer.gif image on every page, but alas that has failed too.
My structure is as follows
<html> <head> <title></title> <?php wp_head(); ?> </head> <div class="container"> <div id="head" class="span-24 last"></div> <div id="content" class="span-24 last"> <!-- End header.php --> <!-- Page/ post content goes here --> <!-- Begin footer.php --> </div> <div id="footer" class="span-24 last"></div> <?php wp_footer(); ?> </div>
My permalinks are set to: /%page%/%category%/
How can I add a custom id/class to the
<div id="content" class="span-24 last">
in header.php for each page?Please help.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fixed footer position – get page name/id into css class’ is closed to new replies.