[resolved] sidebar links refuse to be bold (5 posts)

  1. JoseChung
    Posted 9 years ago #

    Hey there!

    I have a sidebar with several div boxes nested inside it. Within a couple of those boxes only (specifically the ones called "external-sites" and "headlines"), I'd like to make the links bold. For some reason I'm able to change everything else for those links -- font size, line-height, color, text-decoration -- but not the font-weight. No doubt there's some kind of conflict in the CSS, but I'll be damned if I can find it.

    The site's here: http://www.beingcharliekaufman.com/wordpress. I have no navbar there yet, because the site hasn't launched and I'm still tweaking stuff. Click on any of the posts, though, to find a sidebar with the "headlines" box.

    I've tried everything I can think of -- including creating specific classes for those boxes alone, and applying <b>bold</b> to those in the stylesheet -- with zero success.

    Any thoughts? You can probably bring up the site's source code when you go there, but lemme know if you want me to paste anything here. (And I have a feeling the sections of my css that deal with links, might look rather convoluted right now... this is because of all the experimenting I've been doing with the bold issue.)

    Thanks in advance,

  2. vkaryl
    Posted 9 years ago #

    Try this:

    In this section of the css -
    #sidebar #news-of-note ul li, #sidebar #external-sites ul li, #sidebar #headlines ul li

    - change to this -
    #sidebar #news-of-note ul li, #sidebar #external-sites ul li, #sidebar #headlines ul li, #sidebar #external-sites ul li a, #sidebar #headlines ul li a

    See if that helps.

  3. JoseChung
    Posted 9 years ago #

    Thanks for the suggestion; alas, it didn't work. It had the effect of suddenly ignoring the list-style-type and list-style-image settings (I could fix that, though), it shrunk the font size (ditto), but didn't "bold" the links. (The link colors remained the same, however.)

  4. Doodlebee
    Posted 9 years ago #

    It's because your font size is too small. Change it to 0.85em, and you'll see it's already bold.

  5. JoseChung
    Posted 9 years ago #

    Goddamn! How dumb am I? You're absolutely right, doodlebee. Who'da thunk <b>0.05 of an em</b> would make a difference? (Possibly everyone but me...)

    I should've come here about a week sooner.

    Thanks a bunch!

Topic Closed

This topic has been closed to new replies.

About this Topic