Okay
  Public Ticket #1357241
video play button hide on a layer
Closed

Comments

  • winbach started the conversation

    Is there a way through CSS to hide the video play button on a specific layer?  Not the whole slider?

    I tried in the custom css but am not sure how to really do this for layer in a slide. 

    .ls-playvideo {
    display: none !important;
    }

    I have an audio file player but the play button is sitting on top.  Sorry I know CSS but not sure not the custom CSS panel works to apply to things in the slide.  Do I create styles and add them in the code?  Thanks for your help.  The plugin is GREAT!!! 

  • [deleted] replied

    Hello winbach,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    You can enter your own CSS for individual layers in the Layers -> Styles -> Custom CSS field. This will not affect the whole slide, only that specific layer.

  • winbach replied

    Greetings.  Thanks for the email back.  Still trying to make the video button on an audio player display:none;

    This does not work in the custom CSS on the layer.   

    .ls-playvideo {
    display: none !important;

    Also, tried this:

    .ls-vpcontainer .ls-roundedflat .ls-playvideo {
    display: none !important;
    }

    Attached is the image again.  Want to have the grey button on top of the audio player not show.  Thoughts?  

  • [deleted] replied

    Thank you for the feedback. My colleagues and I will look into this to see if we can find anything, and get back to you shortly.

  • [deleted] replied

    We've looked into this further, but unfortunatley it's not possible to achieve this setup. You cannot turn off the play button only for certain layers, it's applied globally on the slider. If you would like to disable it globally you can do it in the CSS Editor, accessible on the WP sidebar.