Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1226659

    Hello everybody
    I have installed
    2 layer sliders are created.

    These are hidden mobile (Css below)

    I have now created a 3 layer slider.
    Name slider-mobile

    it is possible to specify via css that only this layer is displayed mobile

    Thanks
    kind regards
    Franz

    #1226735

    Hey schweg33,

    I can only see 2 layersliders even when I inspect the page:

    @media only screen and (max-width: 767px) {
      #layer_slider_2 {
        display: block !important;
      }
    }

    You can use layerslider ID to force it to show on mobile.
    Just replace #layer_slider_x
    Hope this helps.

    Best regards,
    Nikko

    #1226769

    hello Nikki
    that’s not quite working for me yet.

    how do I replace this

    The name of the layer is called:

    slmobile

    Thanks and

    Best regards,
    Franz

    #1226787

    Addendum

    These are my three sliders

    Mobile I want to display only the slider with the number 33

    thanks

    #1227153

    Hi schweg33,

    The link you gave requires admin access to view.
    Please post us your login credentials (in the “private data” field)

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( to be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1227317

    Hello Nikko
    Here I have the login data

    Thanks
    Kind regards
    Franz

    #1227433

    Hi schweg33,

    Thanks for giving us admin access.
    And I think I have misunderstood your question.
    You’ll need to put 3 layersliders in your homepage for that, also when it comes to CSS, the layerslider’s ID would not use the layerslider name but instead will use number at the end of it according to how it is placed/ordered. So the first layerslider should have an id of #layer_slider_1 and the #next layer_slider_2.
    Since slider-top seems to be used first, then it should always use the same ID #layer_slider_1, I guess you’ll need to add slider-mobile just before or after slider-content, so you can just used #layer_slider_2 or #layer_slider_3.
    I hope this is helpful.

    Best regards,
    Nikko

    #1227438

    Hello Nikko
    I can’t do this, sorry.
    you could for once set me up right

    I only want to display id 4 and id 29 on the pc

    and mobile only the id 33

    would that be possible

    Thank you and best regards
    Franz

    #1227859

    Hi Franz,

    Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (max-width: 767px) {
    .home #layer_slider_1, .home #layerslider_4_o942mhh0d9xi {
      display: none;
    }
    }
    
    @media only screen and (min-width: 768px) {
    .home #layer_slider_3 {
      display: none;
    }
    }

    Best regards,
    Rikard

    #1227885

    hello Rikard
    thanks a lot

    But at the moment it still shows 2 layer sliders
    on the mobile device

    kind regards
    Franz

    #1227886

    hello Rikard
    Sorry
    I misspoke.

    I want the slider below is displayed on the mobile device.
    (page=layerslider&action=edit&id=33)

    if that’s possible?

    kind regards
    Franz

    #1228140

    Hi schweg33,

    I have added this CSS code in Quick CSS, located in Enfold > General Styling:

    @media only screen and (max-width:767px) {
      #layer_slider_1,
      #layer_slider_2 {
        display: none;
      }
    }

    Best regards,
    Nikko

    #1228163

    Hello Nikko
    Super Thanks

    Now it fits

    you can close this request.

    best regards
    Franz

    #1228230

    Hi Franz,

    We’re glad that we could help :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘avia-layerslider only mobil’ is closed to new replies.