• here’s my site: https://neeweb.sytes.net/sites/smarties/

    As you can see in the sidebar, under the last picture, my title ”blogs qui en jettent” takes, for no apparent reason, the background image of my h2 title (the date) and doesn’t take the same police as the other titles in the sidebar, why is that???

Viewing 14 replies - 1 through 14 (of 14 total)
  • This is the line in the source for your “blogs qui en jettent” head:

    <li id="linkcat-2"><h2>Blogs qui en jettent</h2>

    You need a closing </li>, at the least. You may also need a closing </ul>, but I can’t tell from just a quick look; you should go through your sidebar.php and make sure they all match up.

    Thread Starter smarties

    (@smarties)

    Thank you so much for the help, fellow canuck ?? (BTW, your site is quite nice)

    I’m also having a sidebar problem. Finally got things working in general, but i’m not sure that I understand how <div>s work.

    I cant seem to place my sidebar anywhere without it moving my posts all over the place.

    https://www.theviewfrommysofa.com/

    Any help would be great.

    Thread Starter smarties

    (@smarties)

    I declared victory too quick:( that didn’t fix it. Here’s what that part of my sidebar.php looks like:

    (ul)

      <?php get_links_list(); ?>
      (/ul)
    Thread Starter smarties

    (@smarties)

    Thank you for the compliment! As long as we are passing around compliments, that’s a lovely header pic.

    I think I see what happened to you, but it’s tricky for me to describe. When I look at your page source in my browser, I see:

    <ul>
    <ul>
    <li id="linkcat-2">
    <h2>Blogs qui en jettent</h2>
    <ul>

    Then your links, then:

    </ul>
    </li>

    </ul>

    I don’t know how you should do this in your source, but between the two <ul> s at the beginning of that sequence, you need an <li>, and similarly after the last </ul> I quoted, you need a closing </li>.

    Once you’ve placed those, you can probably remove the <h2> tags from around “Blogs qui…”.

    Thread Starter smarties

    (@smarties)

    Thanks again pericat, I’ll try that and get back to you.

    ckronengold, if you want to change the location of your sidebar, the two divs you would need to adjust are the ones for #menu and #content.

    In 1.22, when I wanted to change the default wp-layout.css so that the sidebar was on the left, I set up #content so:

    #content {
    margin-top: 0px;
    margin-right: 20px;
    margin-bottom: 30px;
    margin-left: 220px;
    padding-left: 20px;
    padding-right: 10px;
    line-height: 150%;
    text-align: justify;
    }

    and #menu so:

    #menu {
    font-family: georgia, serif;
    font-size: small;
    position: absolute;
    padding-left: 10px;
    padding-right: 30px;
    left: 0px;
    top: 140px;
    width: 200px;
    }

    Even if what you want to do is something else, that may give you an idea of how to proceed.

    will that work in 1.5 as well?? I’m trying to get a handle on both of them. But the 1.5 pages seem to have a different structure. But I’ve been looking mostly in the style.css file and you are suggesting “layout” so I’ll try that.

    The sidebar is working fine when I jump to posts using the “categories” and the “archives.” I guess I didn’t add the sidebar to the individual “page” pages, but even without it, it looks fine.

    I still just can’t get the sidebar to work on the main page. I thought it might have been something funky from the google adsense unit, but I got rid of that and still can’t get this thing to sit in the right place.

    yeah, 1.5 doesn’t have a wp-layout file. I guess that would work only for 1.2, but i’m going to try and stay as current as possible.

    if you can think of anything else, i’d be most appreciative. maybe i’ll just start with a clean sidebar template from someone else.

    i’m leaving it as is for now, and really hope someone can help. the sidebar is in the right place, but its pushing the main content down until the end of the sidebar. i guess its easier to see whats going on this way than with the sidebar at the bottom.

    hoping for any help.

    thanks!

    When I looked at your site, you’d set it to the ‘classic theme’. So that was my reference point when I was writing about #menu and #content. Which, when I edited them, happened to be in a stylesheet named ‘wp-layout.css’, and which is very, very close to the ‘style.css’ as used by the ‘classic’ theme.

    FWIW, I think you would be better off modifying the ‘classic’ theme’s stylesheet (unless you find one you like elsewhere) rather than the ‘default’, as the ‘classic’ is a simpler scheme altogether. Easier to connect your edits with what’s happening on the screen, in other words.

    For instance, if you make the edits I mentioned earlier within the ‘classic’ style.css, the sidebar flips over to the right, and the header extends across both sidebar and content area. Sidebar and content are not perfectly aligned at the top, but that’s something you could futz around with on your own.

    great suggestions. I actually just went hunting for some themes or stylesheets that would fix the problem, and I was able to find one. The Neutron theme worked perfectly for me, so I guess I’m just going to stick with that and make any mods within that theme.

    go ahead and check it out again. Thank you so much for your help. Really very appreciated.

    https://www.theviewfrommysofa.com

    Very nice!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘problem with sidebar graphic’ is closed to new replies.