• Resolved sjc

    (@stevielovegun)


    Hi,

    Love your plugin, thanks.

    One thing that would make it even better would be to remove the inline styling that’s fed into the head individually per slider id, like

    #a74699daad1298dd822825663c3d50ef7{position:fixed;z-index:100000;top:0;left:0;right:0;bottom:0;overflow:auto;background:rgba(0,0,0,0.5);padding:0 54px 0 50px}'

    because it’s really hard to create a site style that overrides the plugin’s default styling around things like padding to match site styles when the css is built in the page and specific to an ID.

    Is there a way I can do this?

    Cheers.

    https://wordpress.org/plugins/wordpress-popup/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi Steve,

    I hope you are well today and thank you for your question.

    This is not an inline style but the internal style.

    Find more information about it on the following page.

    http://www.w3schools.com/css/css_howto.asp

    The internal style is used to target the individual popup to apply specific properties which is not common between popups.

    You can overwrite this styling by using more specific CSS selector or using the !important rule that overrides that particular property as shown in the following CSS code.

    .wdpu-container {
        background: rgba(0,0,0,0.7) !important;
        z-index: 999999 !important;
    }

    Best Regards,
    WPMU DEV

    Thread Starter sjc

    (@stevielovegun)

    Thanks.

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    You are most welcome, if i can be of any further assistance please don’t hesitate to ask 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Inline styling’ is closed to new replies.