Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #972948

    Hi, Enfold support team.

    I´m using the accordion toggle at my website and I´d like to match the line spacing.
    I already tried to handle it by myself but I failed.
    So please let me know how to reduce the vertical space at the opened and closed toggles as well as the space around the icons (+/–) on the left.

    Thanks in advance.

    Best regards, FKM

    #973098

    Hey FKMZ2,
    For the vertical toggle space, Try this code in the General Styling > Quick CSS field:

    .togglecontainer .toggle_wrap.active_tc .toggle_content {
    padding-top: 0px !important; 
    padding-bottom: 0px !important;
    }
    .togglecontainer .toggle_wrap.active_tc .toggle_content p {
    margin-top: 0px !important; 
    margin-bottom: 0px !important;
    }

    For the space around the icons (+/–) on the left, Try this code in the General Styling > Quick CSS field:

    .js_active .toggler {
        padding-left: 25px !important; 
    }

    Please adjust to suit.

    Best regards,
    Mike

    #974188

    Hi, Mike.

    Thank you very much for your reply and codes.

    Please let me know how to reduce the line height even more (please see “accordion-01.jpg” at the link below) and also how to fit the spaces as seen on “accordion-02.jpg”?

    Thanks in advance.

    Best regards, FKM

    #974251

    Hi,
    Thank you for the screenshots, Try this code in the General Styling > Quick CSS field:

    #top.home .togglecontainer .toggler {
        padding: 0px 3px 0px 35px !important; 
    }
    #top.home .togglecontainer .toggle_content {
        padding: 0px 0px 0px 35px !important; 
        margin-bottom: 0px !important; 
    }
    #top.home .togglecontainer .single_toggle {
        margin-bottom: 0px !important; 
    }

    Best regards,
    Mike

    #974327

    Hi, Mike,

    on point – thank you so much.

    Is there a simple way to move the text of the openend and closed toggles a lil bit more to the left to bring it closer to the icons (+/–)?

    Thanks in advance and best regards,
    FKM

    #974562

    Hi,
    You can adjust the “35px” to a smaller number, in the rules above, such as “10px”
    Thee first rule is for the heading, and the second is for the content.

    Best regards,
    Mike

    #974658

    Hi, Mike.

    Awww, I see, I just could have changed the value – I was too hasty, sorry.
    It works – great!

    Mission: complete.
    Thank you so much.

    Best regards, FKM

    #974659

    Hi FkmZ2,

    Glad that Mike helped you. Thank you for using Enfold.

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How to reduce space at the accordion toggle’ is closed to new replies.