WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Style internal links (2 posts)

  1. cableghost
    Member
    Posted 2 years ago #

    I would like to apply different css style, such as text-decoration, to internal links.

    Here is my present link code (b_text is the post content styling class):

    .b_text a, .link { text-decoration: none; color: #3F474E;}

    I have tried the following, but either it doesn't affect the links, or if I insert .link, it changes the style of all links:

    .internal a { color: #2C40DA !important; text-decoration: underline !important; font-weight: normal !important;}

    What might be the right combination of classes to affect only internal links?

  2. cableghost
    Member
    Posted 2 years ago #

    I had the syntax wrong...should be

    a.internal{}

Topic Closed

This topic has been closed to new replies.

About this Topic