• Resolved kmcwepc

    (@kmcwepc)


    Just started building a new site using Ollie and the settings for link color and text decoration that I set in Styles don’t seem to be applied. There is nothing else that explicitly sets the link colors (I mean the style for the individual blocks does not set it) and the links are all white and underlined on hover. I checked the CSS in the DOM inspector and links have the following styles applied:

    .wp-elements-ba6c761aa48c98045929e6fe06619a6b a, .wp-elements-c7b83dbc5a167e5f4c1a4ee8385a3e2f a {
        color: var(--wp--preset--color--base);
    }

    where the hex string after .wp-elements- is different for each element. I believe this is coming from Ollie.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kmcwepc

    (@kmcwepc)

    Oh, the colour of the link was indeed set on one of the parent blocks, apologies. However, the underlining isn’t, and when I inspect the stylesheet on the element I see that the following is applied in

    /wp-content/themes/ollie/style.css?ver=1.1.0
    a, a:focus, a:hover {
        text-decoration: underline;
        text-decoration-line: underline;
        text-decoration-thickness: initial;
        text-decoration-style: initial;
        text-decoration-color: initial;
    }

    This is despite me having set text decoration to none in the Typography > Links Style settings.

    Theme Author Mike McAlister

    (@mmcalister)

    Hi there, thanks for the heads up! I have an issue for this in Github and will get it fixed up shortly. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t change link color or decoration’ is closed to new replies.