Home Forums Weaver Xtreme Theme how to get h2 smaller for tablet (and mobile)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18382
    Nele
    Participant

    This is the site: https://tagungszentrum-karimu.de/kontakt/

    Is there a possibility to get the h2 „Kontaktformular“ smaller when scaling down to small tablet – in order to avoid a second row for the word?

    User name and password removed by admin

    #25165
    scrambler
    Moderator

    if you just want to manipulate the size of that h1 on mobile, the easiest way is to add a class to its <span> tag and style it

    you have

    <span style=”font-size:30pt;”>Kontaktformular:</span>

    instead, use

    <span class=”mytext1″>Kontaktformular:</span>

    Then add the rules below in Main options > Fonts & Custom > Custom CSS Rule box

    .mytext1 {font-size:30pt;}
    .is-mobile .mytext1 {font-size:20pt;}

    #25166
    Nele
    Participant
    Yes,  very logical…. 
    I have thought too complicated. Always great to get this help – thank you!
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.