Site logo

Archived topic

Own CSS doesn´t work

3 replies · Started by Royal Rangers on March 9, 2023

Viewing posts 1–4 of 4

Hi, I have these codes in css files in child template:

.entry-content {
        padding-bottom: 40px;
    }

.wp-block-embed {
    margin-bottom: 1.5em;
    }

figure.wp-block-image,
.gb-grid-wrapper figure.wp-block-image{
    margin-bottom: 1.5em;
    }

Neither code works. Why? It works on another site. Probably some trifle somewhere... Can you help please?

Hi Jan,

It's usually due to errors in CSS code.

Can you try adding the CSS to the top of your CSS file to test?

Lol :) Was missing there }.
Thanks.

Glad you've sorted it out :)

This archived topic is closed to new replies.