Change slider font size when using mobile/tablet

Home Forums All Other Themes Change slider font size when using mobile/tablet

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #211961
    Aatu KeränenAatu Keränen
    Participant
    • Topics: 2
    • Replies: 0
    • Total: 2
    Member since: October 11, 2023

    Hi,

    Is it possible to change font size for tile and text on slider image on front page when using mobile/tablet? It seems like I can only find settings to change this for desktop mode only.

    My site: allightsystems.com

    Kind regards,
    Aatu

    #211973
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30618
    • Total: 30618
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:

    @media screen and (max-width:479px) {
    .slider-main .nivo-caption .title { font-size:34px;}
    }
    
    @media screen and (min-width:768) and (max-width:1023px) {
    .slider-main .nivo-caption .title { font-size:44px;}
    }

    Regards,
    Dave

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