Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #12147

    Hello people,

    I am using @font-face in titles, menu items and headings, but sometimes I just can’t change the font-size of those guys…

    I managed to set font-size to h1 and h2… but h3, h4, h5 and h6 will just NOT change size!

    The code is just simple, for example:

    h4 {

    font-size: 18px;


    But I don’t know why it isn’t working! Any ideas, guys?

    Thanks in advance

    p.s.: support is great here! I’m glad I bought a template from you!



    Try using this code instead:

    h4 {
    font-size: 18px!important;

    Just dont forget to add the !important, this way CSS will prioritize your the font-size you set over other styles set to that selector. Hope this helps. :)




    Precisely what I needed! Thank you very much, Ismael.

    I never knew what “!important” was used for, and now I know, thanks to you.

    Best regards,




    Glad that Ismael could help you :)

    Best regards,


Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Can't change headings font-size via custom.css’ is closed to new replies.