Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1339625
    bradmaclean
    Participant

    Have an easy one for you … what is the CSS to add dynamic left and right padding to sections on mobile?

    Thanks so much!
    Brad

    #1339630
    Thai
    Moderator

    Hi Brad,

    Please add the following CSS:

    @media (max-width: 979px){
      .x-padding {
        padding-left: 50px !important;
        padding-right: 50px !important;
      }
    }

    After that add the x-padding to the class field of your sections.

    Hope it helps 🙂

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