Site logo

Archived topic

h4 style - not able to edit in style.css

11 replies · Started by Eirini on January 18, 2017

Viewing posts 1–12 of 12

Hi Tom,
I am using Generate Press with Beaver Builder Plug In & have set up a child theme to deal with extra styling.
I do not seem to be able to change the size of the h4, h5 styles.
Have added:
h4 {font-size: 18px}
but reverts to:
h4, {
font-family: inherit;
font-size: 100%;
font-style: inherit;
font-weight: inherit;
}

Link to page:
http://biosynthesis.communityoftherapists.com/edu/ed_prog/

Thanks much.

Eirini

Hi Eirini,

The CSS in your child theme is read after the parent theme, so your child theme CSS will be the one that actually takes effect.

Looks like you missed a semicolon after font-size: 18px. Make sure there are no other syntax errors in your child theme so everything is getting read. One thing you can try is to put that h4 style as the first block of code to see if it works.

Let us know.

Hi Leo, thanks MUCH for response...
Validated syntax & DID find a couple more errors which I sorted & in so doing cleaned up some other styling issues that I had not got to... so THANKS!
Did not however find a solution for the the h4 styling... any other suggestions most welcome.

Any chance you can link us to a page with an H4 on it?

Ah, I see the issue. The header info in your child theme is missing a closing comment, so the entire file is commented out.

After the tags and before your h4, add this:

*/

:)
So simple!
Thanks much!!!

Glad we can help!

How to change h4 font style

Can i change h4 font style in free version.

Do you mind opening a new topic?

Thanks!

This archived topic is closed to new replies.