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

    Hey Enfold team,

    I´m using the accordion (which is pretty nice btw) and I´d like to make some changes to the sorting options:
    1. increase the spacing between sorting options and tabs
    2. remove the delimiters (slashs), but keep the distance
    3. reverse the order (chronologically from most recent to oldest – left to right)
    4. change the font weight for the active sorting option (if possible)

    Please see screenshot.

    I already tried to solve this myself by using the Enfold documentation and other topics.
    Unfortunately without success. So I would be very grateful for your help.

    Thank you very much in advance.

    Best regards, fkm

    #1340553

    Hey fkm,

    Thank you for the inquiry.

    The css code below should remove the separator, increase the space between the items and adjust the font weight of the text.

    .taglist .tag-seperator {
        display: none;
    }
    
    .taglist a {
        margin-right: 20px;
        font-weight: bold;
    }

    To reverse the order of the items, try to add this css.

    .taglist {
        display: flex;
        flex-flow: row-reverse;
        justify-content: flex-end;
    }
    
    .taglist a:first-child {
        order: 1;
    }

    Best regards,
    Ismael

    #1340670

    Hey Ismael,

    thank you very much for your quick and helpful reply.
    Everything worked just fine. Great.

    The only thing I meant differently is the case with the bold font:
    Is it also possible that only the tag that is currently active (on hover and after the click) appears in bold?
    Basically the same as on “Page Xsample” (sorting tags of the portfolio grid, please see below).

    Thanks a lot for another reply in advance.

    Best regards, fkm

    #1340723

    Hi,

    Glad to know that the modifications are working. For the hover and active state, try to add this css code.

    
    .taglist a:hover, #top .taglist .activeFilter {
        font-weight: bold;
    }
    

    Best regards,
    Ismael

    #1340740

    Hi Ismael,

    exactly like that – it’s very motivating when something works right away.
    Thank you so much.

    I have one last question on this topic:
    the top border disappears for all togglers if you select them separately using the sort function expect from the first one (please see screenshot).
    Is there a quick fix for this too?

    Thank you very much in advance.

    Best regards, fkm

    #1340856

    Hi,

    Thank you for following up.

    It seems to be a styling issue with the theme. To add a border on top of the first toggled item, try to use this css code.

    .taglist {
        border-bottom: 1px solid #c5c6c6 !important;
        padding-bottom: 30px;
        margin-bottom: 0 !important;
    }
    
    .togglecontainer .av_toggle_section:first-of-type .toggler {
        border-top-width: 0;
    }

    Best regards,
    Ismael

    #1340889

    Hi Ismael,

    thank you very much for your reply and for the ccs code, which again works great.

    First, it made the top border of the first toggler/entry thicker (because it was double), but I could quickly fix this problem with the following css code:

    .toggler {
    border-top: none!important;
    }

    Now everything is just fine and you can close this topic as successfully solved.
    Thanks a lot for your support.

    Best regards, fkm

    #1341030

    Hi,

    Great! Please feel free to open another thread if you need anything else. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘chnages to the accordion sorting options’ is closed to new replies.