Site logo

Archived topic

Featured Image Padding

5 replies · Started by MMS on September 8, 2021

Viewing posts 1–6 of 6

I created an element in Generate Blocks for post / page "Content Width" set to 900px wide with default "Content Area". Then under theme customizer I change Layout > Container > "Content Padding" For Desktop / Tablet / Mobile. I tried setting left/right padding to 0px for desktop but when I do, it changes the left/right padding setting for tablet from 15px to 0px (15px is retained OK for mobile setting) This issue only seems to be affecting tablet. How can I set padding to 0px for desktop and 15px for tablet & mobile ?

Hi there,

can you share a link to the site where i can see the Block Element ?

Hi Simon,

Give this CSS a try:

@media (max-width: 1024px) {
    .separate-containers .inside-article {
        padding-left:15px;
        padding-right:15px;
    }
.featured-image.page-header-image-single {
        margin-left: -15px;
        margin-right: -15px;
     }
}

Let me know :)

That worked, Thanks :)

You are welcome :)

This archived topic is closed to new replies.