I’ve been making a child theme of Sight and been trying to position my divs with little success.
Site Link: http://www.hookturnmelbourne.com
If you visit the link and view the php files above, you can see that the header, slider, and latest post are all enclosed in a div called
wrapper, but my sidebar, which I have put in a div named
#sbaris not. This is currently due to this code in index.php:
</div></div> <div id=sbar> <?php get_sidebar(); ?> </div>
However if one of the
</div>tags is removed, then
#sbaris enclosed not only in
wrapperbut also in
div#container.clearand after over 5 hours I still cannot figure out why!
What I want to have displayed is: Under
div.navto have three main divs:
div.slideshow, directly under this
div#container.clear, and alongside the two
I really hope someone can help me as I am really lost on what to do. If anyone needs any additional information, please let me know.
Thank you in advance
- The topic ‘Div positioning – PHP’ is closed to new replies.