Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1211023
    koosang153
    Participant

    Hi there,

    I know there is customize typography section letting me to set body font size for PC look.

    But if I want entire site body fonts to be 13px on PC, while I want them to be bigger 17px on Mobile, how can I do?

    #1211180
    Lely
    Moderator

    Hi There,

    Please try adding this custom CSS:

    @media (max-width: 480px){
    body {
        font-size: 17px;
    }
    }

    Hope this helps.

    #1211528
    koosang153
    Participant

    480 with is iphone 6 size?

    #1211530
    koosang153
    Participant

    480 width is iphone 6 size?

    #1211538
    koosang153
    Participant

    How to adjust font size for navigation bar for mobile only?

    #1211604
    Rahul
    Moderator

    Hey There,

    Thanks for writing back!

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

    .x-navbar .mobile .x-nav li a {
        font-size: 15px;
    }

    You can change the font size from 15 to whichever you require.

    Hope this helps, let us know how it goes!

    #1211628
    koosang153
    Participant
    This reply has been marked as private.
    #1211782
    Joao
    Moderator

    Hi There,

    Please add the following code instead :

    @media (max-width: 480px) {
    body p {
    font-size: 17px !important;
    }
    }

    Hope it helps

    Joao

    #1211850
    koosang153
    Participant
    This reply has been marked as private.
    #1212002
    Joao
    Moderator

    Hi There,

    The code works.

    I have added for you on Appereance > Customizer > Custom > CSS

    Of course as it supose to affect your site just under the width of 480px it won´t have any effects whyle the website is open in desktop, laptop or tablet size.

    Resize your browser or check your website in a mobile device in order to see the code working.

    Hope it helps

    Joao

    #1217208
    koosang153
    Participant
    This reply has been marked as private.
    #1217248
    Christopher
    Moderator

    Hi there,

    Please add following code :

    @media (max-width: 480px) {
    input.wpcf7-form-control.wpcf7-submit {
    font-size: 18px !important;
    }
    }

    Hope it helps.

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