Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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.
    #1218709

    Hey 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,
    Rikard

    #1218735

    Hello 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.
    first

    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”)
    result

    Thanks

    • This reply was modified 5 years, 2 months ago by umberto83.
    #1218930

    Hi,

    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,
    Rikard

    #1219252

    Thanks 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

    #1219680

    Hi,

    Great, I’m glad that you found a solution and thanks for sharing. Any CSS in Quick CSS should be safe on updates, but we do recommend that you keep proper backups of your site in case something should go wrong.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.