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

    sorry I have tried copying and pasting suggested code but not having any luck getting drop shadow on my text in layer slider. I click on the ling button and type in a unique name in the id box. I then go to styles button and in the custom code box I paste this code

    .home #layer_slider_1 {
    text-shadow: 5px 5px 3px #000000;
    }
    I then change code to this
    .history_page #test {
    text-shadow: 5px 5px 3px #000000;
    }
    does not work. pistory_page is the name of my slider test is th ID Just cannot get it figured out. THANKS

    #935514

    Hey Eric,
    The first one with “.home” may work better with this:

    .home #layer_slider_1 .ls-wrapper.ls-in-out {
    text-shadow: 5px 5px 3px #000000;
    }

    The second one “.history_page” doesn’t look valid, you should have a page ID like this: “page-id-206”

    .page-id-206 #test .ls-wrapper.ls-in-out {
    text-shadow: 5px 5px 3px #000000;
    }

    But it would be easier to actually see the page.

    Best regards,
    Mike

    #935543
    This reply has been marked as private.
    #935566

    Hi,
    To find the page id, I use the browser inspector (developer tools) Please see screenshot in Private Content area. But there are plugins that will show you the page id’s in your admin panel, such as: Reveal IDs
    To add the text shadow to only one layer in your slide, you will need to add a unique id to the layer. So in this case, I opened your slide and went to the element in the “Link & Attributes” tab, and then added “lstest” in the “ID” box.
    Please see screenshot in Private Content area.

    I then added this code in the General Styling > Quick CSS field:

    .page-id-584 #lstest.ls-layer {
    text-shadow: 5px 5px 3px #000000;
    }

    Please clear your browser cache and check.
    Please review the changes and adjust to suit.

    Best regards,
    Mike

    #935570

    Thanks Mike that helps me out. I was putting the code in the actual layer slider. DOes it not work to put it there?

    #935572

    Hi,
    I’m glad this helped, The layerslider is designed to allow custom css in the slide, I’m just used to putting it in the General Styling > Quick CSS field, mostly because it will be exported with your theme options should you ever use that. The key point is adding the ID to the layer so the css will work.
    Is there anything else we can assist with on this issue, or shall we close this?

    Best regards,
    Mike

    #935585

    Thanks again. You can close it.

    #935608

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    and the video tutorials here
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘drop shadow on layer slider text’ is closed to new replies.