Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #335082

    Hi,

    I would like to apply a class in a specific ICON/element in a ICON LIST.

    My objective is to call a POPUP link, using this class=”open-popup-link”

    How could I use this class in a specific element in a ICON LIST?

    THANKS

    #336110

    Hi CloudChoice!

    Please firstly turn on custom CSS field for ALB elements ( http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ ) and then post the link to your website and point out the icon

    Regards,
    Yigit

    #336218

    Hi,
    Thanks for the faster answer.

    BUT I already have this code in my function.php in child theme.

    All elements already have the CSS field. The problem is in the sub-elements in the ICON LIST.

    There is just a Custom Css Class field in the ICON LIST to all elements.

    I would like to apply a CSS just for a single element inside the ICON LIST.

    How can I do that?

    THANKS

    #336232

    Hey!

    Please give custom CSS class to your icon list element and then post the link to your website please and point out the icon you would like to target

    Regards,
    Yigit

    #336307
    This reply has been marked as private.
    #336544

    Hey!

    You can target the sub elements inside the icon list using css child selectors. Something like this:

    
    .open-popup-link-button ul li:first-child { }
    .open-popup-link-button ul li:nth-child(1) { }
    .open-popup-link-button ul li:nth-child(2) { }
    .open-popup-link-button ul li:last-child { }
    

    Refer to this link for more info about child selectors: http://css-tricks.com/how-nth-child-works/

    Best regards,
    Ismael

    #348652

    Hi,

    I tried a different aproach. Like that:

    [av_iconlist position='left' font_color='' custom_title='' custom_content='' color='' custom_bg='' custom_font='' custom_border='' custom_class='']
    [av_iconlist_item title='E-mail' link='manually,#atendimento' linktarget='' linkelement='both' icon='ue805' font='entypo-fontello' custom_class='open-popup-link-button']
    Esclareça sua dúvida por e-mail
    [/av_iconlist_item]
    [/av_iconlist]

    But the custom class inside the iconlist item is not working.
    Could you tell me why?

    Thanks

    #349188

    Hi!

    No custom class is set there:

    [av_iconlist position='left' font_color='' custom_title='' custom_content='' color='' custom_bg='' custom_font='' custom_border='' custom_class='CLASS']
    [av_iconlist_item title='E-mail' link='manually,#atendimento' linktarget='' linkelement='both' icon='ue805' font='entypo-fontello' custom_class='open-popup-link-button']
    Esclareça sua dúvida por e-mail
    [/av_iconlist_item]
    [/av_iconlist]
    

    Cheers!
    Josue

    #349215

    Hi,

    Yes.
    BUT the intention is not a custom class inside the av_iconlist, JUST inside the av_iconlist_item. To affect only one av_iconlist_item.

    THANKS

    #349222

    Hi!

    That’s not possible, refer to Ismael response:
    https://kriesi.at/support/topic/class-in-a-specific-element-in-a-icon-list/#post-336544

    Cheers!
    Josue

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