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

    Hi,
    As the title says, I would like to have on easy slider arrow navigation on desktop and dot navigation on mobile.

    I have tried this, but it doesn’t work. Any idea? Thank you.

    /* Hide dot navigation on desktop devices */
    @media only screen and (min-width: 768px) {
    .custom-slider-nav .avia-slideshow-dots {
    display: none !important;
    }
    }

    /* Hide arrow navigation on mobile devices */
    @media only screen and (max-width: 767px) {
    .custom-slider-nav .avia-slideshow-arrows a {
    display: none !important;
    }
    /* Optional: Ensure the dots are visible on mobile if they were hidden by another setting */
    .custom-slider-nav .avia-slideshow-dots {
    display: block !important;
    }
    }

    #1490847

    Hey koomo,
    Please note that the css above has the custom class custom-slider-nav, probably the thread that you found  the css at instructs to add the custom class to the element, if you have not done so, please do, or remove custom-slider-nav from the css.
    If you still have issues, please link to your test page so we can examine.

    Best regards,
    Mike

    #1490863

    Hi Mike,
    Thank you very much. I removed custom-slider-nav

    But dot not showing on mobile with

    /* Hide dot navigation on desktop devices */
    @media only screen and (min-width: 768px) {
    .avia-slideshow-dots {
    display: none !important;
    }
    }

    /* Hide arrow navigation on mobile devices */
    @media only screen and (max-width: 767px) {
    .avia-slideshow-arrows a {
    display: none !important;
    }
    /* Optional: Ensure the dots are visible on mobile if they were hidden by another setting */
    .avia-slideshow-dots {
    display: block !important;
    }
    }

    #1490903

    Hi,

    Thank you for the update.

    This is not working because only the navigation arrows are enabled. Try to edit the slider element and make sure that the Styling > Navigation Controls > Slider Navigation Elements is set to Navigation arrows and dots. Let us know the result.

    Best regards,
    Ismael

    #1490906

    Hi Ismael.
    Perfect. Thank you always.

    #1490911

    Hi,

    Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Easy slider arrow on desktop and dot navigation on mobile [solved]’ is closed to new replies.