Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1207884
    Polaradventures
    Participant

    I would like to make the heading responsive / go smaller when viewed on mobile devices. In the attached image you can see that the heading is way too big for smaller devices.

    #1207886
    Polaradventures
    Participant
    This reply has been marked as private.
    #1207936
    Thai
    Moderator

    Hi There,

    Please add the following CSS under Customizer > Custom > Global CSS:

    @media (max-width: 767px){
        .page-id-3498 #x-section-1 .h-custom-headline {
            font-size: 22px;
            padding: 15px 10px;
        }
    }

    Hope it helps 🙂

    #1207955
    Polaradventures
    Participant

    That worked, thank you =).

    I would now like to apply this to all subpages of

    http://polaradventures.eu/flugexpeditionen/

    and

    http://polaradventures.eu/schiffe/

    How can I do this?

    #1208015
    Thai
    Moderator

    Hi There,

    In this case, please update the previous CSS a bit:

    @media (max-width: 767px){
        .my-custom-headline.h-custom-headline {
            font-size: 22px !important;
            padding: 15px 10px !important;
        }
    }

    Then add the my-custom-headline to the class field of your custom headlines:

    http://i.imgur.com/YGEC89y.png

    Hope it helps 🙂

    #1209913
    Polaradventures
    Participant

    Is there a way that I do not have to edit every page individually to put in the “my-custom-headline” class?

    I want this to apply to almost 100 pages – it would be really tedious if I had to edit every page individually.

    #1210016
    Thai
    Moderator

    Hi There,

    Please try with this:

    @media (max-width: 767px){
        .h-custom-headline {
            font-size: 22px !important;
            padding: 15px 10px !important;
        }
    }

    Hope it helps 🙂

    #1211265
    Polaradventures
    Participant

    Thanks this worked! =)

    #1211360
    Thai
    Moderator

    If you need anything else please let us know.

  • <script> jQuery(function($){ $("#no-reply-1207884 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>