Site logo

Archived topic

Background images in sections

5 replies · Started by Anatoliy on January 12, 2018

Viewing posts 1–6 of 6

Hi.
By default, the background in the section is margin and padding to the left. How to make it default to the center. Just in the mobile version, the image always looks cropped to the left.

where and how to change it?

now so:
margin-left: auto
padding-left: 0
border: 0

thanks'

Hi there,

Are you referring to the image in the first section?

If so it might be best to add that as static image so it's responsive.

Let me know if that works for you.

I do not know what you are talking about, in the settings section there is only to add a background image and everything.
where should it be static?

Click Add Media in that section so you add the picture as content.

ok. clearly, it certainly can be done, but I'm talking about what I wrote above.

If I understand correctly, you could do this:

@media (max-width: 768px) {
    #generate-section-1.generate-sections-container {
        background-position: center center !important;
    }
}
This archived topic is closed to new replies.