Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Need Help With CSS…

Discussion in 'Misc WordPress Requests' started by XLFR, Jan 1, 2018.

  1. XLFR

    Guest

    Need Help With CSS…, by XLFR

    Hi, in the past couple of days I’ve been trying to stretch a certain section to fill the entire container, and I got it working. Problem is, in mobile/tablet a left-right scroll bar appears and it also messes up the sticky header.

    Page that I stretched: https://roi.pub/about-me/
    Code I used:

    #primary .container {
    padding-right: 0px;
    padding-left: 0px;}

    .layout-content.boxed #primary {
    padding: 0px;
    }

    @media only screen and (min-width: 768px) {
    .layout-content.boxed #primary{padding: 0 !important;}
    }

    And here’s what a page looks like prior to stretching: https://roi.pub/elementor-2620/ I’m just trying to get the content to fill the white container without messing things up.

    Advice will be appreciated.

    Need Help With CSS…
     
    #1

Share This Page

Monarch Social Sharing Plugin