Home Link Turns Hyperlink blue on click

Hi,

I’m using the CTA button on the homepage to scroll the page down however I’m finding if I scroll back up the link turns blue (as if it’s been clicked)

I’m not using any custom code for the button other than adding the text and URL which make it appear in the settings

image

It does reset itself on refresh or by clicking on the header image around the button.

The site I need help is jakesymons.com (it’s right there)

Is there any custom css that could fix this?

Thanks,
Jake

Hi Jake,

Try adding this CSS code to Appearance > Customize > Additional CSS from dashboard.

    .button.header-button:active,
    .button.header-button:visited {
      color: #fcd088;
    }

I hope this reply helps.

Stay safe.
Have an excellent day :slight_smile:

Regards,
Kharis
aThemes Support

Hi,

Thanks for sending that code over. I tried it and after clearing all the cache it still stayed the same.

If you click on the header image it turns it back to the proper colour so I’ll just live with it it’s not a major thing as long as people don’t scroll back up.

Thanks again for giving it a go

Jake

1 Like

You’re welcome Jake!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Stay safe.
Have an excellent day :slight_smile:

Regards,
Kharis
aThemes Support