• Hi there, for some reason the color of my Headline set in the editor is overwritten by an inherit keyword, and the H1 is not visible because the inherit color value apperantly is white.

    I have tried to deactivate all of my custom css, but happens anyway.

    Regards
    Carsten

    .wp-block-cover-image h1:not(.has-text-color), .wp-block-cover-image h2:not(.has-text-color), .wp-block-cover-image h3:not(.has-text-color), .wp-block-cover-image h4:not(.has-text-color), .wp-block-cover-image h5:not(.has-text-color), .wp-block-cover-image h6:not(.has-text-color), .wp-block-cover-image p:not(.has-text-color), .wp-block-cover h1:not(.has-text-color), .wp-block-cover h2:not(.has-text-color), .wp-block-cover h3:not(.has-text-color), .wp-block-cover h4:not(.has-text-color), .wp-block-cover h5:not(.has-text-color), .wp-block-cover h6:not(.has-text-color), .wp-block-cover p:not(.has-text-color) {
        color: inherit;
    }

    `h1.gb-headline-cd95541b {
    font-family: Poppins, sans-serif;
    text-align: center;
    color: #1c1c1c; (marked as not active)
    font-size: 25px;
    }`

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support ying

    (@yingscarlett)

    Hi Carsten,

    Can you share the link to your site and point us to where we should be looking at?

    Thread Starter Carsten Lund

    (@carsten-lund)

    Hi Ying, sure, take a look at the top H1 gp headline at wedate.dk

    Thanks!

    • This reply was modified 2 years, 12 months ago by Carsten Lund.
    Plugin Support ying

    (@yingscarlett)

    Yes, the .wp-block-cover-image h1:not(.has-text-color) is the more specific selector than h1.gb-headline-cd95541b, it doesn’t matter if the value is inheritor a color code.

    If the headline block has to be in the WP cover block, try adding this class to the headline block: has-text-color.

    Let me know how it works.

    Thread Starter Carsten Lund

    (@carsten-lund)

    Hi Ying, the headline block does not have to be in the WP cover block, but how do I create a Headline outside the WP cover block, so I can create a Headline above?

    Thanks!

    Plugin Support ying

    (@yingscarlett)

    but how do I create a Headline outside the WP cover block, so I can create a Headline above

    Yes, you can add headline block to anywhere ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Headline color set in the editor is overwritten by an inherit keyword’ is closed to new replies.