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

    Hi.

    I would like to make a media element ( Full width Easy slider ) where I can place inside the slider, both content elements, icon and icon liste.

    Is that somehow possible ?

    Have tried to work around it myself, but without any luck

    • This topic was modified 5 years, 6 months ago by Edsbjerg.
    #1094942

    Hey Edsbjerg,
    The slider caption field doesn’t support element shortcodes, but you can try to create your elements using the “shortcode wand” in the Classic Editor
    Then try to display them in a new shortcode like this:

    function icon_sc( ){
    	return do_shortcode('[av_font_icon icon="ue889" font="entypo-fontello" size="20px"][/av_font_icon]');
    }
    add_shortcode( 'icon_short_code', 'icon_sc' );

    This one displays an icon where the shortcode “[icon_short_code]”

    Best regards,
    Mike

    #1100289

    Hi Mike
    Thanks for your solution, which I must be quit stupid too, since I don´t get it :-(
    When I make a new page with the classic editor and choose the magic wand i get this : My classic editor

    As you might can see I get the options content elements, Media elements and so on.
    Non of them allows me to create my own elements as far as I can see ?
    Not even the possibility to insert a code block is present.

    So after I have tried numerous ways to make as your description I have tossed the towel into the ring and given up !

    Will you please help me if possible ?

    Best regards
    Kim Larsen
    Odense, Denmark

    #1100304

    Hi,
    Sorry, I don’t think I was as clear as I should have been, when you create your shortcode within the wand, then replace the shortcode within the function above and add it to your functions.php
    2019-05-13-153200
    then you can add this new shortcode to your slider
    “[icon_short_code]”
    Perhaps I could demonstrate better with an admin login and a test page?

    Best regards,
    Mike

    #1100754

    Hi Mike

    I have made acces to you here :
    And this page is ready for you to play around : http://edsbjerg.dk/mikes-playground/

    Kind regards
    Kim

    • This reply was modified 5 years, 6 months ago by Mike. Reason: I have removed login from public view
    #1101582

    Hi,
    Thanks for the login, I gave a few things a try and unfortunately it didn’t work as I expected, but I was able to place the icon list over the slider with a negative margin-top css.

    .avia-icon-list-container {
    margin-top: -50vh!important;
    }

    This css could be added to your Quick CSS, but I added it to a code block element so you could see it easier.
    Please take a look at the page and the elements and let us know if this helps.

    Best regards,
    Mike

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