Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #889786

    Hi, I´ve made two layersliders, one for mobile and one for desktop. And have both in the home page visual editor.

    I´ve added this code in quick css, but only mobile layerslider is seen on both. Desktop layerslider is not seen on desktops.
    @media only screen and (max-width: 990px) {
    .home #layer_slider_1 { display: none !important; }
    }
    @media only screen and (min-width: 990px) {
    .home #layerslider_2 { display: none !important; }
    }

    I don´t know what I´m doing wrong.
    Unfortunately my site is under construction and can´t be seen. So I send you 4 screenshots to see if that helps.

    Any help will be appreciated!
    Thank you very much!

    #889788

    Hey cipriana,
    From your screenshots, it looks like one is #layerslider_2 and the other is #layerslider_2_2
    For your media query, make the difference at least 1px, above min & max is set to 990px
    But instead of using this css, have you tried the mobile settings in the layerslider? Go to your slider > slider settings > mobile
    2017-12-17_090330

    Best regards,
    Mike

    #889791

    Hi Mike! thanks for your answer.
    I´ve changed the layer names to #layerslider_2 and the other is #layerslider_2_2 but it´s the same. Always mobile layerslider appears.

    I´ve tried the other solution you suggest (I attach 3 screenshots) and now the desktop layerslider appears empty on frontend.
    It seems there´s a problem with the desktop one that is not appearing.

    thank you!

    #889792

    Hi,
    Opps, looks like I made a mistake, try:

    @media only screen and (max-width: 990px) {
    .home #layer_slider_1 { display: none !important; }
    }
    @media only screen and (min-width: 991px) {
    .home #layer_slider_2 { display: none !important; }
    }

    Best regards,
    Mike

    #889793

    Mm, no, desktop layer slider keeps without appearing as I show you. But mobile layerslider yes. :(

    Tell me if I can send you any other screenshot you may need.

    thanks

    #889810

    Hi,
    I take it that you are building via localhost, can you upload a copy to your dropbox with All-in-One WP Migration?
    How to Migrate your Site with All in One WP Migration
    Include the link in the Private Content area with login & password.
    Best regards,
    Mike

    #889981

    Yes sure, here you have it.

    #890433

    Hi,
    Please include your login & password.

    Best regards,
    Mike

    #890434

    Hi, here you have it,
    thanks!!

    #890740

    Hi,
    Ok, I got it to work by doing these steps, first I removed the quick css that targeted the sliders. Then I removed both sliders and saved the page, then add desktop slider and saved. At this point the desktop slider worked, but there is a delay it it showing, it seems you but scroll down first. Please check and remove any delays in the desktop slider.
    I then added the mobile slider above, and saved.
    Please try this.

    Best regards,
    Mike

    #890749

    I´ll try it Mike, thanks for your time!
    I don´t understand very well this:
    “…but there is a delay it it showing, it seems you but scroll down first…”

    On the other hand, how can I make to show only one? One in mobiles and one in desktop?

    Thanks

    • This reply was modified 6 years, 11 months ago by cipriana.
    #890895

    Hi, me again.
    There´s something wrong with layer slider. I´ve created two pages with diferent layersliders in each. Nonetheless it shows the same layerslider in each page on frontpage.
    I´ve created another migration just in case. (in private area)

    In System Status here´s a red notice saying: Update to latest version (6.6.5), as we are constantly working on new features, improvements and bug fixes.
    Could you send me last version of layerslider?

    Thanks

    #890979

    Hi,
    Sorry, I don’t see the link to your new migration. I’ve worked on the one I had some more and solved the issue. Please try the migration I’ve linked in the Private Content area.

    Best regards,
    Mike

    #891062

    Hi, Mike thank you so much! Do you know what was the issue?

    #891086

    Hi,
    The layerslider controls for hiding at certain screen widths didn’t work as expected, so added the quick css again, which worked well.
    Unless you have any other questions, shall we close this then?

    Best regards,
    Mike

    #891101

    Yes, Mike, and thank you very much again!!

    #891220

    Hi,

    Glad to hear that. Thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 17 posts - 1 through 17 (of 17 total)
  • The topic ‘Only mobile slider seen’ is closed to new replies.