Change Link Style to Underline

  • Posted in : TheBlogger
  • ryanbraun
    Participant

    Hi, I would like to know if it’s possible to not just control the color of links on TheBlogger template, but also be able to add an classic underline instead to links? Thanks so much.

    serkan
    Moderator

    Hi,
    You can control the links with this custom css code;

    .entry-content > p:not(.more) > a:not(.social-link):not(.button) { text-decoration: underline; color: #df3939; }

    https://fatherhoodfables.com/about-me/ (Hayley Braun)
    Thanks

    ryanbraun
    Participant

    Thanks so much. Is it possible to have this be site wide? So links are still being styled with the attributes from the template. I am looking for all links be the same color text as the rest of the site, but have underlines throughout with a solid color. Thanks again.

    ryanbraun
    Participant

    To be specific, links inside of posts in paragraphs are showing the correct styling, but it is not showing up properly in bullet point lists with links. Thanks again.

    serkan
    Moderator

    Hi,
    Can you try to use this custom css code

    ul li a, ul li a:hover { text-decoration: underline; }
    ul li a:hover { color: 0a0a0a; }

    Thanks

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register