Forums

[resolved] Blogroll title oin sidebar not formatting with rest of titles (9 posts)

  1. hlshure
    Member
    Posted 5 years ago #

    I have tried to figure this out and all I have found is that the formattting of the blogroll title in my sidebar is somehow associated with the H2 formatting in the style sheet. I am not sure how this happened or how to fix it.

    shurebit.com

  2. Samuel B
    moderator
    Posted 5 years ago #

    Did you change anything in sidebar.php or the stylesheet? If so, revert back and redo testing after each change.

  3. hlshure
    Member
    Posted 5 years ago #

    Unfortunately I have made many changes and did not notice the formatting issue until now. I am not sure where to start. I did a lot of trial and error as I am really new to CSS and HTML. Any thoughts on where in the CSS or sidebar I would start. I have tried looking myself and don't see anything obvious.

  4. Samuel B
    moderator
    Posted 5 years ago #

    Your search button goes behind the sidebar also.
    This should help you.
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.shurebit.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1
    Most of these are no big deal. Scroll down to your sidebar references and click on a corresponding line number - it will show you the markup and you should be able to figure out what you need to do.

  5. hlshure
    Member
    Posted 5 years ago #

    I appreciate that. It looks like it could be very helpful, however the whole thinkg seems to be over my head. I have looked at the "errors" it is showing such as a missing > on a certain line. When I go into the sidebar.php to correct it I see that it is not missing at all.

  6. hlshure
    Member
    Posted 5 years ago #

    Can anyone assist me further with this, keeping in mind that I do not have a complete understanding of how all of this works.

    Thanks in advance!

  7. moshu
    Member
    Posted 5 years ago #

    We all started at that stage: not understanding how it worked :)

    Anyway, this is a helpful article:
    http://codex.wordpress.org/Finding_Your_CSS_Styles

    Now, using the knowledge aquired from the document above, you'll find that for some strange reason the developers decided to have the Links title in between h2. (I know, it's stupid but you can't do anything about it.)

    Therefore, the "blogroll" on your site has exactly the same styling as the dates above your posts (also having h2 - which is correct!).
    All you need to do: define a new class/id for those h2's in the sidebar.
    The sidebar in your theme has a div id="menu"... so >>
    you need in the stylesheet:
    #menu h2 {
    font:.......
    color:.....
    }

    whatever you want them to look like.
    Hint: I'd copy the style for the li tags that surround the categories, archives etc.

  8. hlshure
    Member
    Posted 5 years ago #

    Thank you so much. That worked perfectly!

  9. oakmonster
    Member
    Posted 4 years ago #

    Worked for me too. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic