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

    Hello,
    I notice that there’s a conflict with the plug-in Twenty20:
    https://wordpress.org/plugins/twentytwenty/

    The border-color of main_color div and main_color span generated dynamically from the avia, overrides the border-color of the arrows causing a bad visualization of the elements.

    Could you please suggest a css snippet in order to override the issue?

    Many thanks in advance for your help!

    #999480

    Hey Dario,

    Try adding this css code in Quick CSS (located in Enfold > General Styling):

    .main_color span.twentytwenty-left-arrow, 
    .main_color span.twentytwenty-right-arrow {
        border-color: transparent;
    }
    
    .main_color span.twentytwenty-left-arrow {
        border-right-color: white !important;
    }
    
    .main_color span.twentytwenty-right-arrow {
        border-left-color: white !important;
    }

    Hope it helps :)

    Best regards,
    Nikko

    #999548

    Many thanks, Nikko!
    Works perfectly.
    I added a new attribute for the circle… hope this will be useful for other users!

    .main_color span.twentytwenty-left-arrow, .main_color span.twentytwenty-right-arrow {
    border-color: transparent;}

    .main_color div.twentytwenty-handle, .main_color span.twentytwenty-handle {
    border-color: white !important;}

    .main_color span.twentytwenty-left-arrow {
    border-right-color: white !important;}

    .main_color span.twentytwenty-right-arrow {
    border-left-color: white !important;}

    #999668

    Hi Dario,

    Great, glad you got it working and thanks for sharing your final code :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1001997

    Hi Rikard,
    just one last detail… hope you can help me to find a solution.
    I’ve used the content slider to include Twenty20 and with some CSS and snippets to show the arrows (found in another post) and it works correctly.
    The issue is related with the tablets: when the page is shown in a tablet (>787px), the Twenty20 feature is overridden to the manual slide used by an iPad or similar (the gesture to move the image horizontally with the finger).
    Even if the slide is set “autorotation=no”, when I try to use the slider in a tablet with Twenty20, I’m able to change slide and sometimes it works only partially with the before/after effect.
    Any hint, please?
    Many thanks in advance!

    • This reply was modified 6 years, 2 months ago by Dario.
    #1002134

    Hi,

    Thanks for the update.

    You have to disable the slider’s swipe functionality. Edit the config-templatebuilder > avia-shortcodes > slideshow > slideshow.js file. Look for this code around line 364:

    this.$slider.avia_swipe_trigger();
    

    Replace it with:

    // this.$slider.avia_swipe_trigger();
    

    Don’t forget to purge the cache or toggle the theme’s Performance > File Compression options.

    Best regards,
    Ismael

    #1002279

    Many thanks Ismael,
    it works excellent!
    Could be integrated in function.php in my child theme?
    Many thanks again for your efforts in replies.
    Best regards

    #1002347

    Hi Dario,

    No, this file needs to be copied to the child theme, it cannot be done in functions.php.

    Best regards,
    Victoria

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