[Resolved] Setting all links in text bold

Home Forums Support [Resolved] Setting all links in text bold

Home Forums Support Setting all links in text bold

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1000662
    Provelo beider Basel

    Hi!
    My boss is colourblind and can’t see the red links on our Website. But our corporate design does not allow us to put the links into another colour. This is why we want to make a custom setting and switch all our links in our text to bold red and set the setting, that all links appear automatically bold red. Can you help me, how to do this? I could not find any setting for making the links bold.
    Can you tell me a CSS or a setting?

    Thanks a lot!

    #1000697
    David
    Staff
    Customer Support

    Hi there,

    you can try this, not sure it will get all links as you’re using Elementor and its CSS may override some:

    #content a {
        font-weight: bold !important;
    }
    #1000716
    Provelo beider Basel

    Thanks, it worked!

    #1001155
    David
    Staff
    Customer Support

    Glad to be of help

    #2021285
    Yvette

    Hi,

    Thanks for the information. I also want to help readers easier see the links.

    I put together the code above and used the example css help from Code Snippets and made a css snippets on my webpage (for example on https://www.laaneoversikten.no/sammenlign-forbrukslan/)

    ————————
    add_action( ‘wp_head’, function () { ?>
    <style>

    .single .entry-content a, .page .entry-content a {
    font-weight: 700;
    }

    </style>
    <?php } );
    ————————

    I choose to only run on site frond-end too, and not run snippets everywhere.

    Kindly advice if the code seems correct and the area for where the code need to be run seems correct.

    FYI: Using Generate Press theme

    #2021314
    David
    Staff
    Customer Support

    Hi there,

    that method is fine to use.
    To note – it will generate the same results as simply adding the CSS to the Customizer > Additional CSS 🙂

    #2021389
    Yvette

    Noted, with thanks:)

    #2021415
    David
    Staff
    Customer Support

    You’re welcome

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