• Resolved josechung

    (@josechung)


    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: https://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,
    Chung

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    Thread Starter josechung

    (@josechung)

    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.)

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

    Thread Starter josechung

    (@josechung)

    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘sidebar links refuse to be bold’ is closed to new replies.