MOBILE featured image font

  • Posted in : Efor
  • rimarohra
    Participant

    So initially i could not see the featured image. then with the following code sent by you i would view it and also change the font size.

    @media screen and (max-width: 767px) { .elementor-kit-66 h2 { font-size: 10px !important; line-height: 42px; } }

    Using this i can also increase font size on mobile which is great.

    However, what this did was change all headings / titles which are using h2 heading appear smaller.

    Can i change this code to something in which i can have the small text in featured image on homepage only changed and the rest of the h2 headings on the website (on mobile) remain same like before.

    H2 is using font NOW and size could be 10px just as now ONLY on the featured image on homepage nowhere else.

    can u pls help ?

    thanks in advance.

    serkan
    Moderator

    Hi,
    I just checked your website and this should work out.

    @media screen and (max-width: 767px) {  .elementor-element-016c328 h2 { font-size: 10px !important; line-height: 42px; } }

    Thanks

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register