• Resolved haussamen

    (@haussamen)


    Hi all,

    On this page I’m building on my site:
    https://www.nmpolitics.net/index/announcements/

    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:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Any suggestions?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Start by sorting out the validation errors on your site. Then move onto the CSS errors.

    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.

    Thread Starter haussamen

    (@haussamen)

    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

    Thread Starter haussamen

    (@haussamen)

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Code issue’ is closed to new replies.