Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #886575

    On this page: http://seacuisine.com/wild-salmon-strips-landing-page-3/

    I have three color sections. I want a 10 pixel separator between the color sections.
    When I add a 10 pixel Whitespace element, the vertical space between the color sections grows to over 120 pixels.
    I have tried using Whitespace, another color section, and a code block, but each of these elements creates the same 120pixel vertical space.

    Is there custom CSS needed to minimize the verbal spacing? Or is there another workaround I have not tried?

    • This topic was modified 7 years, 7 months ago by larrystick.
    #886708

    Hey larrystick,

    Add this to quick css:

    .template-page.content.av-content-full.alpha.units{
    padding:0px 0px!important;
    }

    Best regards,
    Jordan Shannon

    #887493

    Thank you Jordan. Your code fixed the problem on the Macintosh OS Safari browser, however the problem remains on the Google Chrome browser, and on the iPhone iOS Safari Browser.

    Might you have some more code I can try?

    #887622

    Hi,

    Have you attempted to hard clear the cache in those browsers? I performed the fix on a Chrome browser and the code should be universal.

    Best regards,
    Jordan Shannon

    #888011

    Thanks for your help. I have cleared the cache on Chrome, but with no change to the spacing. The large spaces are also appearing on the iPhone. Both the Safari and Chrome browsers on the phone have the large spaces.

    Do you think your CSS is conflicting, or being over-ridden by other Quick CSS I have in my site? I’ll add all the Quick CSS in the private content box for you.

    #888025

    Hi,

    The spaces are only showing on the mobile browsers?

    Best regards,
    Jordan Shannon

    #888036

    Sadly, no, the spaces are also showing on the desktop Chrome browser (Version 63.0.3239.84) on my Macintosh 2017 iMac. They are also showing on both iPhone mobile browsers (Safari for macOS, and Chrome for macOS).

    #888237

    Hi,

    Thanks for the feedback, please try the following in Quick CSS under Enfold->General Styling:

    .content {
        padding:0 !important;
    }

    Best regards,
    Rikard

    #888510

    Thank you. That code does, indeed close the space between the color sections. However it also closes the space down for ALL sections. The site has a few hundred pages, so editing them all is not in the budget.

    So we still have not come to a solution, but I am still hopeful… Who can help?

    #888633

    Hi,

    It is only the page that you linked that needs help?

    Best regards,
    Jordan Shannon

    #888635

    Yes.

    #888639

    Hi,

    Add this adjustment to Rikard’s css:

    .page-id-6896 .content {
        padding:0 !important;
    }

    Best regards,
    Jordan Shannon

    #888641

    Excellent. That works on all three browsers, including mobile. Thanks very much.

    #888643

    Hi,

    No problem at all. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘How to minimize vertical space between color sections.’ is closed to new replies.