• I am trying to put a semi-transparent background on a div within one of my slides:

    <div style=”text-align: center;padding-bottom: 10px;color: white;width: 25%;font-size: 32px; background-color: rgba(0,0,0,0.6);”>

    As soon as I update the slider the background-color attribute is stripped out so what is saved is this
    <div style=”text-align: center;padding-bottom: 10px;color: white;width: 25%;font-size: 32px”>

    Not sure why the plugin would be doing this?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter grl570810

    (@grl570810)

    BTW I should have added that I worked around the issue by adding a custom class to the div and defining the class in the theme’s additional CSS, so it’s not a major problem I just figured I should advise you of the apparent bug.

    Plugin Author simonpedge

    (@simonpedge)

    Hmm, strange one.
    If you have:
    background-color:#000000;
    It saves it fine.

    But if you have:
    background-color:rgba(0,0,0,0);
    It strips it out.

    So its the “rgba” (using background with transparency) that’s causing the issue. I will have to have a look into it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Valid CSS style stripped when slider saved’ is closed to new replies.