Site logo

Archived topic

CSS glitch

3 replies · Started by John on November 22, 2022

Viewing posts 1–4 of 4

Hi,

I am having a little challenge with a background color of a header. It's not displayed as it is in the editor and I can't find out how to change it manually with CSS.

I made a test page where you can see the issue with an example.

https://kalteren-electrics.nl/

Thanks in advance!

Hi there,

you have this CSS on your site:


@media (min-width: 769px) {
    .entry-content h2:before {
        content: "";
        display: block;
        height: 90px;
        margin: -90px 0 0;
    }
}

That is adding the additional space to ALL H2s within the content.

Ah perfect! Thanks David!

You're welcome

This archived topic is closed to new replies.