New Landing How can we help? Themeforest Theme Support Dante Change link color on pages and blog posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #296041
    morruu
    Member
    Post count: 106

    My text links on pages and in blog posts is shown in the color specified from “Color Customizer” => “Color – Body” => “Link Text Color”.

    When I change the color here then all my links in the sidebar e.g. tags, new comments change to the same color.

    I want text links to stand out.

    I have searched the forum and tried different approaches, but nothing seems to work. My last try was adding this custom css:

    .page-content p a {
    color: blue !important;
    }

    This doesn’t work. Could you please help me changing the link color?

    Best regards
    Morten

    Attachments:
    You must be logged in to view attached files.
    #296235
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you add the code below to the custom css option.

    #page-wrap a {
        color: blue;
    }

    Let us know if it worked.

    -Rui

    #296724
    morruu
    Member
    Post count: 106

    I have added the custom css code and it works, but not in the way I like it.

    In a blog post e.g. this http://www.altombasketball.dk/top-5-populaere-nike-basketball-sko-til-maend/ I only want the hyperlinks in the body text to change and NOT hyperlinks in the sidebar, related articles, tags in bottom, social sharing links, category in top of blog post and next blog post.

    In the front page the blog post headings under the images has also changed.

    So I added this custom css instead:

    /* Color on hyperlink only in body text on page and blog posts */
    #page-wrap p a {
        color: blue;
    }

    I think it solved my issue about coloring all hyperlinks.

    Best regards
    Morten

    Attachments:
    You must be logged in to view attached files.
    #296744
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Great. Glad it’s sorted.

    -Rui

Viewing 4 posts - 1 through 4 (of 4 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