Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1151691

    Hi,
    In this case: https://kriesi.at/support/topic/how-to-add-icon-before-the-title-accordion/
    How do I add a different icon to each toggle?
    I tried inserting span id in “Toggle title” in this mode:
    <span id="test"> Test title</span>
    but it didn’t work.
    Suggestions?
    Thank you for your help,
    Manuela

    #1151798

    Hey Manuela,

    Since you already have this code:

    .family .toggler:before {
        content: "\f104";
        font-family: flaticon;
        position: relative;
        font-size: 28px !important;
    }

    You can target the 2nd one like this:

    .family [data-fake-id="#toggle-id-2"] {
        content: "\f105";
    }

    If you have a 3rd one just copy and past the css code, replace #toggle-id-2 with #toggle-id-3, and change the content value.
    Hope this helps.

    Best regards,
    Nikko

    #1151881

    Hi,
    I entered the suggested code, but entered it does not change. I clean also the cache, but nothing.
    All the code I entered for the accodiong is:
    /*add icon in accordion*/
    /* Custom Accordion Icon */
    .family .toggler:before {
    content: “\f104″;
    font-family: flaticon;
    position: relative;
    font-size: 28px !important;
    }

    .family .toggler:before {
    margin-right: 15px !important;
    }

    .family [data-fake-id=”#toggle-id-2”] {
    content: “\f105”;
    font-family: flaticon;
    }

    .family .activeTitle .toggler:before {
    content: “\f104”;
    font-family: flaticon;
    }

    .js_active .av-elegant-toggle .toggler {
    padding: 35px 60px 30px 15px;
    }

    Another suggestion?
    Thank you.

    #1152237

    Hi famarinu,

    I apologize for my mistake in previous code I gave, this code:

    .family [data-fake-id="#toggle-id-2"]

    should be:

    .family [data-fake-id="#toggle-id-2"]:before

    I have fixed it in your Quick CSS.
    Let us know if you need further assistance.

    Best regards,
    Nikko

    #1152386

    oh yes, now it work well.
    Thank you.
    You can close the post.

    #1152392

    Hi famarinu,

    Glad that we could help :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘different icons’ is closed to new replies.