Site logo

[Resolved] h4 style – not able to edit in style.css

Home Forums Support [Resolved] h4 style – not able to edit in style.css

Home Forums Support h4 style – not able to edit in style.css

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #265343
    Eirini

    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

    #265398
    Leo
    Staff
    Customer Support

    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.

    #265456
    Eirini

    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.

    #265466
    Tom
    Lead Developer
    Lead Developer

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

    #265469
    Eirini

    Sure
    LINK
    http://biosynthesis.communityoftherapists.com/edu/ed_prog/

    There are h4 styles just above the accordion blocks…
    ie. the title below…

    Βασικές Ενότητες

    Βεβαίωση Σπουδών

    θεματολογία Εκπαιδευτικής Υλης

    #265473
    Tom
    Lead Developer
    Lead Developer

    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:

    */

    #265509
    Eirini

    🙂
    So simple!
    Thanks much!!!

    #265540
    Leo
    Staff
    Customer Support

    Glad we can help!

    #533730
    AMAN SINGH

    How to change h4 font style

    #533983
    Leo
    Staff
    Customer Support

    That should be in Typography > Headings: https://docs.generatepress.com/article/typography-overview/

    Please open a new topic if you need more help on this.

    #534016
    AMAN SINGH

    Can i change h4 font style in free version.

    #534256
    Leo
    Staff
    Customer Support

    Do you mind opening a new topic?

    Thanks!

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.