Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1433439

    Hi I am trying to target a page with page-id-1547 to change the h2 font size just on that page.
    I tried this:
    #top .page-id-1547 .h2 {
    font-size: 40px!important;
    }
    but it’s still showing the font at size 28, which is the default. What is the best way to do this?
    I tried setting the font size in the text block, but that also isn’t working.
    thanks for your help
    Nancy

    • This topic was modified 10 months, 2 weeks ago by Munford.
    • This topic was modified 10 months, 2 weeks ago by Munford.
    #1433451

    Hey Munford,

    Please try this CSS instead:

    .page-id-1547 h2 {
      font-size: 40px!important;
    }

    Best regards,
    Rikard

    • This reply was modified 10 months, 2 weeks ago by Rikard.
    #1433455

    I tried that before also – no change.

    #1433497

    Hi,

    Sorry, this should do it:

    .page-id-1547 h2 {
      font-size: 40px !important;
    }

    Best regards,
    Rikard

    #1433625

    thanks that worked!

    #1433639

    Hi,

    Great, I’m glad to hear that you got it working. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1434066
    This reply has been marked as private.
    #1434103

    Hi,

    Thanks for letting us know, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘change h2 font size on one page only’ is closed to new replies.