Cannot apply custom quote css – theme css cannot be ovverriden

Posted in: Newspaper
Post count: 7

we cannot add a custom css for the theme quotes. the theme is outputting this:

.tdi_141 .tdb-block-inner blockquote p {
font-family: Chivo !important;
font-size: 48px !important;
line-height: 1 !important;
font-weight: 900 !important;
text-transform: none !important;
color: #000000;
}

but if we add something to the wp customizer, with the !important nothing happen because the code above is outputted after so we are not able to change the theme css. any suggestion on how to update the quotes css?

for example this is not applied:

.tdb-block-inner blockquote p {
font-size: 22px !important;
font-weight: 600 !important;
line-height: 1rem ! Important;
}

thank you!

Post count: 35449

Hi,
This is because the code coming from the theme is stronger, having a more direct path than the one set by you.
Please try like this:

body.single .tdb-block-inner blockquote p {
font-size: 22px !important;
font-weight: 600 !important;
line-height: 1rem ! Important;
}

I hope this will help you!

Post count: 7

thank you! it work

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.