WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to make parent links bold in Kubrick theme - WordPress 2.3.1 (6 posts)

  1. trixit
    Member
    Posted 6 years ago #

    Hi guys!
    I spend now like 7 hours into this problem without success. Reading forums, WordPress Docs, searching Google, etc. I'm a newbie in this thing so I will appreciate any help. Nevertheless I have learned a lot about how things work and I'm thankful to all who contributed to my learning today.

    My problem is that I don't know how to make parent links in the sidebar bold and child links normal (not bold). Simply differentiate them from each other. I use the default Kubrick theme in WordPress 2.3.1 with my own header picture.

    I was able to figure out how to make the whole navigation menu bold od normal with 'font-weight: bold' putting it behind the UL OL LI in style.css file. But I just cannot come to solution if I want the parent links bold and the child links normal. It's either all bold or all normal. I don't know what to do. I'm at the end now... Please help!

    If you want to look at the site: http://www.holcovice.net

    Thank you in advance!

    Adam Spicar

  2. Michael Fields
    Themer
    Posted 6 years ago #

    Have you tried this:

    #sidebar .page_item a{font-weight:bold}
    #sidebar .page_item .page_item a{font-weight:normal}
  3. trixit
    Member
    Posted 6 years ago #

    In what file and where exactly should I put the text?

  4. Michael Fields
    Themer
    Posted 6 years ago #

    trixit,

    Hi. Please add this code to the very bottom of your style.css file in your site's current theme directory.

    -Mike

  5. trixit
    Member
    Posted 6 years ago #

    MAN I LOVE YOU!

    Why the hell I spent 7 hours wasting time. I should have asked right in the begining! Oh well...

    THANK YOU!

  6. Michael Fields
    Themer
    Posted 6 years ago #

    Thanks, Glad I could help. But it must be said that the fact that you spent 7 hours trying to figure this out will no doubt benefit your coding in the future. CSS is a tough one - took me many 7 hour sessions!

    -Mike

Topic Closed

This topic has been closed to new replies.

About this Topic