• Resolved wvlg

    (@wvlg)


    Hello again!

    How to format the Hyperlink text? I tried the obvious solutions like:

    #wrap a {
    font-weight: bold;
    }

    or

    .content a {
    font-weight: bold;
    }

    nothing works! I’d like to have all the hyperlinks underlined and bold

    regards

    Florian

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hey Florian,

    This CSS will make these changes to all hyperlinks within the post and page content areas:

    .post-content a {
      text-decoration: underline;
      font-weight: 700;
    }
    Thread Starter wvlg

    (@wvlg)

    With this code, the hyperlinks now all bold. but still not underlined….

    Any ideas?

    Theme Author Ben Sibley

    (@bensibley)

    Looking at this again, and the links are actually underlined by default in Chosen which means there is CSS in a plugin or some custom CSS changing this behavior.

    Since I can’t see the site live to know exactly what needs to be overridden, we can use an !important tag as a method to force the new styles to apply:

    .post-content a {
      text-decoration: underline !important;
      font-weight: 700;
    }

    And here’s a really strong override just in case the previous one doesn’t take effect:

    #main #loop-container .post-content a {
      text-decoration: underline !important;
      font-weight: 700;
    }
    Thread Starter wvlg

    (@wvlg)

    Done! !important was enough. But it must come from the theme. because the underlining did not show up even in maintenance mode all plugins turned off.

    Thx anyway

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hyperlink formatin’ is closed to new replies.