On this page I’m building on my site:
The left column I’m trying to make as a widget sidebar, but there is that blank space above where the widgets start and I can’t figure out why. Basically, it doesn’t matter if there are 15 or two (the current number) post excerpts in the middle column, the left sidebar aligns itself with the bottom post excerpt, leaving blank space in the left column next to all the others.
I’m no coding expert, but here’s my code for the page:
i have the feeling that the
<div id="featured-cats">code (or loop) should be inserted before this loop:
<div id="more-posts" class="clearfloat recent-excerpts">
make a backup copy of the theme files before editing.
hope you can make sense of this comment and can try to modify your code accordingly.
I’m in the process of cleaning up the code, but I have another question: Can I use the id “more-posts” more than once on the site, or is it only that you can’t use it more than once on a page? Right now I’m using it twice on the site, but the two will never appear at the same time. It’s easy enough to create a “more-posts2” if I need to, just wondering if I need to — and if that might be part the initial problem that got me here.
it’s per page
div ID can only appear once per page
classes can be multiple times
- The topic ‘Code issue’ is closed to new replies.