Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1327743

    I have 2 slides in my layer slider. Each slide has multiple layers.
    In the styles tab of the layer settings, I have applied a drop shadow effect using custom CSS.
    https://monosnap.com/file/ZlwKkNOElrWfNhgKbhG3n2wjkqhnIN
    It looks great and works well.
    However, the CSS shadow effect is only applied on the first loop.
    On the second loop, the CSS shadow effect is gone.

    (issue evident on Edge, Chrome (mobile and desktop))

    #1327900

    Hey XDGS,

    Thank you for the inquiry.

    The screenshot and screencast above are no longer available — looks like the monosnap site is temporarily unavailable. Please provide a screenshot of the custom settings or styles using imgur or dropbox. You might have to re-apply the custom style in the other slider.

    Best regards,
    Ismael

    #1327925
    #1328149

    Hi,
    Thank you for your patience and the link to your site, I don’t know why this is but I came up with a work around, I added the class drop-shadow-filter to only the first slide items:
    2021-11-07_016.jpg
    then I added this css to your WordPress ▸ Customize ▸ Additional CSS

    .drop-shadow-filter.ls-layer {
    	filter: drop-shadow(5px 5px 15px #666666) !important;
    }

    and this seems to be working on multiple passes for the first slide, please clear your browser cache and check and add this class to your other slides if you wish.

    Best regards,
    Mike

    #1328194

    Fantastic! This works perfectly.
    Thank you.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Layer styles custom CSS works on first loop only’ is closed to new replies.