How to underline only the links in posts

  • graphene-user

    #4465

    Hello,

    In the options of Graphene, in the “Options text styles”, when I put “underline” in the field “text decoration”, links in posts are underlined.

    But the titles of the posts are also highlighted, the categories are underlined, … See example here: http://www.abc-sante-forme.com/blog/

    Is there a way to underline only the links in posts?

    Best Regards,

    Bernard

    Mod

    Kenneth John Odle

    #28295

    Add this to your custom CSS or child theme css:

    a:link {text-decoration:underline;}

    See here for more examples/possibilities:

    http://www.w3schools.com/css/css_link.asp

    graphene-user

    #28296

    Thank you Kenneth, but I would like to do that while configuring the standard options of Graphene, without changing manually the CSS of the theme.

    Is there a way to underline only the links in posts, with the standard options of Graphene?

    Best regards,

    Bernard

    Anonymous

    #28297

    You can use a Child Theme: http://codex.wordpress.org/Child_Themes

    If you do not want make a child theme you can us this for all the links in your posts:

    <a href="http://google.com" style="text-decoration:underline;">Link!</a>

    Mod

    Kenneth John Odle

    #28298

    I would like to do that while configuring the standard options of Graphene, without changing manually the CSS of the theme.

    This is not available through the standard options of Graphne. Therefore, you either have to create a child theme (and if you plan on doing a lot of modifications, you’re better off doing it sooner rather than later) or adding it to Graphene’s custom CSS feature.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!