Site logo

Archived topic

Content is missing padding on mobile

7 replies · Started by Philip on February 22, 2023

Viewing posts 1–8 of 8

I wanted full width for my posts with sidebars on either side, so I saw I had to create an element on that, which worked. However, on mobile view, the content container has no padding which I was hoping to fix. See sample link below in mobile.

Hi Philip,

Full width layout removes the theme paddings, you will need to add paddings to your blocks or using CSS.

Try this CSS:

@media(max-width: 768px) {
.full-width-content .site {
    padding-left: 20px;
    padding-right: 20px;
}
}

That worked great - thanks!

No Problem :)

Actually, for some reason while that works on Chrome it's still having issues with Firefox (both on PC and mobile).

Actually, sorry about that. It appears to be working now on other posts on Firefox. It might have been a cache issue.

I see. Glad it's working now!

This archived topic is closed to new replies.