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

    I added this CSS and applied the class name in the home page text element’s Advanced > Developer Settings tab, but it doesn’t seem to work. What am I missing?

    /*to make h1 text smaller on mobile as the enfold settings dont work*/
    @media only screen and (max-width: 767px) {
    .homeintrotext {
    font-size: 80% !important;
    }
    }

    #1420742

    Hey Tanja,

    Thank you for the inquiry.

    The class name was accidentally added to the Custom ID Attribute field instead of the Custom CSS Class field. We also adjusted the css code a bit. Please make sure to purge the cache before checking the page.

    Best regards,
    Ismael

    #1420807

    Thank you so much!

    #1420810

    Hi,

    No problem! Let us know if you have more questions.

    Have a nice day.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘CSS for specified instance of smaller h1 font size on mobile’ is closed to new replies.