CSS is being overridden
-
I have a problem with css of Heading Advanced block. Below is the part of css from devtools.
The problem is there’s the third font-size being applied (subheading) which I have no idea why it’s being set and why it has the highest priority. Because of that, I can’t change the font-size from the blocks settings.Even after changing the heading tag block setting to <p>, the “subheading” css style is still being applied. It should’t be applied and it shouldn’t override the text-size settings.
gspb_heading-id-gsbp-ffdea7c {
font-size: var(–wp–preset–font-size–subheading) !important;
}
gspb_heading-id-gsbp-ffdea7c {
font-size: var(–wp–preset–font-size–small) !important; <- overridden
}
h4 {
font-size: var(–wp–preset–font-size–medium); <- overridden
}
The topic ‘CSS is being overridden’ is closed to new replies.