Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #997324
    adagency2013
    Participant

    I am using the integrity template no.8 and the fonts on it are very big, which is great for desktop and tablet, but for phone it is way too big where browser displays only one or two words in a paragraph http://e64.39f.myftpupload.com/acne-treatment/
    So how can I style the site so it will change font size according to device.
    Thanks

    #997367
    Joao
    Moderator

    Hi There,

    Try setting your font sizes using em as a measurement instead of px.

    So instead of setting 24px you can try using 1.2em

    If that does not work please add the following code to your Appereance / Customizer / Custom / CSS

    
    @media only screen and (max-device-width: 480px) {
    
    .entry-content .content p {
    
    font-size: 12px
    
    } }

    Hope that helps,

    Joao

    #997777
    adagency2013
    Participant

    In customizer all global fonts are set to px not em.
    also,
    I just found this setting in cornerstone under “X settings: under general setting for the page.
    It is called “Responsive Text” settings.
    Where is docs for using that? and is it global or per page. if per page how can we use global?

    #997836
    adagency2013
    Participant
    #998082
    Jade
    Moderator

    Hi there,

    To apply a Responsive settings to a text, assign an class to the Text element

    screenshot

    And then use that class to be the selector of the Responsive text setting

    screenshot

    Feel free to adjust the compression, minimum, and maximum size option.

    Let us know how it goes.

    #998191
    adagency2013
    Participant

    Thanks for explaining it.
    but even if it did work, it would not be global.
    so my issue is not resolved.

    also I tried this too and it did not work.

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

    #998227
    adagency2013
    Participant

    Now it seems to work the original code, if I put the into customizer>custom but not the child theme css! I am confused which one to use.

    #998494
    John Ezra
    Member

    Hi there,

    Thanks for updating the thread! If it is not working in your child theme’s CSS something may be conflicting. Are other CSS working in your Child Theme’s CSS file? If they aren’t, the child theme’s CSS file may not be linking properly or something is conflicting. You should be able to use both the same.

    If other CSS are working and this isn’t something may be conflicting with the specific CSS.

    Please check and let us know – thanks!

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