Need Help With CSS…
-
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.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Need Help With CSS…’ is closed to new replies.