Conquered HTML / CSS Problems
- 0
- Add a Comment
A few minutes before I started writing this post, I found myself pondering at a little display issue over here at Educated (where I use Binary Moon’s Regulus theme). In the sidebar on your left, you should see a section called Links, with a few links to my other sites. Before it used to be displayed as a second column parallel to Categories, widening the sidebar more than I would have liked it to be. So I dug into the theme’s sidebar.php file and started commenting out lots of stuff (mostly <div> tags), saving and consantly refreshing my browser, seeing if it acheived the desired effect. I also spent a few mintes trying to get everything up to valid XHTML, which – I’m telling you now – is not easy work, unless you are an expert or something.
Anyways, I managed to figure out how the formatting in the sidebar works – a whole lot of stuff is contained within a giant <div>, with a specific CSS class, which gives you the proper fonts, font sizes, and positioning of the text in the sidebar. I don’t know whether Ben Gillbanks intended for his template to be overly complicated to work with, but I think I’ve mastered his monstrosity of a creation, from the pages navbar to the sidebar. Next task: figure out how to make my own WordPress theme.
