
-
AuthorPosts
-
June 1, 2020 at 9:28 pm #1218536
Hello,
How can I set the color section width to be the same as the column section 1/1 width?
Without paddings left and right between the column and the color section.Can I do it by Enfold settings or I have to overwrite the CCS?
Thanks
-
This topic was modified 5 years, 2 months ago by
umberto83.
June 2, 2020 at 10:12 am #1218709Hey umbertopandini,
I’m not sure I understand exactly what you would like to change on that page, could you try to explain a bit further or post a screenshot highlighting your intentions please?
Best regards,
RikardJune 2, 2020 at 11:24 am #1218735Hello Rikard.
I’d like to target by class specific Color Sections, obtaining the result in the images linked below.
I don’t want any space (left and right) between the Color Section and the Column Section within.
And I want to apply this behaviour for any screen size.The grey container is a Colour Section.
Here it’s the result I want to obtain. But only for specific Colour Sections targeting a class I added in Color Section Advanced —> Developer Settings —> Custom CSS class (The name of the class is “fitting-color-section”)
Thanks
-
This reply was modified 5 years, 2 months ago by
umberto83.
June 3, 2020 at 6:39 am #1218930Hi,
Thanks for the clarification. Please try this in Quick CSS:
#av_section_1 .container { max-width: 1310px; width: 100%; padding: 0; margin: 0; }
I would advice that you change the ID for the Color Section though, otherwise it will apply to your whole site.
Best regards,
RikardJune 3, 2020 at 10:13 pm #1219252Thanks Rikard,
I actually polished a bit the CSS you suggested me.
#container-fitt { max-width: 1310px ; width: 85% ; padding: 0 ; position: relative; left: 50%; transform: translate(-50%); } #container-fitt .container { max-width: 1310px !important; /* The important here it's to overwrite the media queries for small screens */ width: 100% !important; /* Same as above */ padding: 0 ; margin: 0 ; }
Now the content of the color section is full width and the section itself has the same with of all the rest of the site.
I added the id #container-fitt, so I can manipulate only the color sections I want.I have a general question, does the quick CSS get lost when you update the theme? or it is safe.
Thanks
June 5, 2020 at 7:01 am #1219680 -
This topic was modified 5 years, 2 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.