• Resolved alortiz3

    (@alortiz3)


    alortiz3

    I would like to make the links on this page a different color and without underline. What CSS code should I use on pagebulder?
    I have tried the following but it does not work:
    a:link {
    color: green;
    }

    a:visited {
    color: green;
    }

    a:hover {
    color: red;
    }

    a:active {
    color: yellow;
    }

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    For page, you need to include .page infront of selector. You can insert the below-mentioned code in the Additional CSS box:

    .page a:link {
    color: green !important;
    }
    
    .page a:visited {
    color: green  !important;
    }
    
    .page a:hover {
    color: red  !important;
    }
    
    .page a:active {
    color: yellow  !important;
    }

    Thanks.

    Thread Starter alortiz3

    (@alortiz3)

    alortiz3

    Hi,

    Thank you for your prompt reply. Unfortunately if add the above CSS code to Additional CSS it applies to the entire site, and it also changes the navigation. Instead I’d like to make the changes to single page using the Widget Style Attributes. My problem is that the code above does not work there. Any other suggestions?

    Thanks!

    Hi,

    If you want to change on only one specific page, you can insert the code inside Additional CSS box as mentioned below:

    .page-id-13 .site-content a:link {
    color: green !important;
    }
    
    .page-id-13 .site-content a:visited {
    color: green  !important;
    }
    
    .page-id-13 .site-content a:hover {
    color: red  !important;
    }
    
    .page-id-13 .site-content a:active {
    color: yellow  !important;
    }

    Thanks.

    Thread Starter alortiz3

    (@alortiz3)

    alortiz3

    Thank you very much! That worked perfectly.

    Hey,

    Good to know it worked. It’s a pleasure to help you out. We hope you are finding flash theme interesting. We would really appreciate for the review.

    Good Day,
    Best Regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to chenge links on a single page’ is closed to new replies.