Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Different color for a link in the same paragraph

  • Hello

    In a site under construction, I have a weird behavior with some a-link color : in the same paragraph, the colors are not the same. They don’t seem to be “highlight” and I don’t see a custom css code. May you help me on this please ?

  • Hi there,

    that link has an inline style in its HTML.
    See here:

    https://app.screencast.com/2dOHiG3y4tutG

    Did you copy and paste the text from somewhere that may have contained that link color ?

  • Hi,

    Yes indeed, I’m moving the site from Elementor to GP. Is there a way to modify this in “bulk” ? (because I think there are some others links like this …)

  • You could forcibly overwrite the inline style by adding link colors using CSS and the !important

    
    .inside-article a  {
        color: var(--hover-link) !important;
    }
    

    But ideally you should edit each links HTML and remove the inline style.

  • Ok, thanks for the tip. Anyway, I will do the “ideally” way T-T … Thanks for your help 🙂

  • You’re welcome

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.