Hi there,
I have a modal popup that shows up whenever a user clicks any links with the URL #register. This modal has two buttons, “Sign Up” and “Cancel”. They are styled by my theme based on bootstrap:
When I added the #register link to a text box on Page Builder, the modal popup buttons were re-styled to be transparent:
Upon closer inspection, I see that Beaver Builder adds the following CSS:
I’m surprised my modal is in this mfp-wrap div to begin with, since it’s added outside the content area within the footer. I’m also surprised that Beaver Builder restyles all buttons within its broad wrapper. Finally, I’m surprised that it uses the always-to-be-avoided !important flag preventing me from correcting the problem in my own CSS. How can I fix this problem and get my button styling back?
I see the problem now. There’s definitely a CSS conflict going on. Any chance you can provide us with a temporary admin using the “Set as private reply” so I can take a quick look at the css behind the modal on that page?
I did check this and it seems that that styling is a bit redundant. It’s found on our theme, plugin, as well as on the magnific popup CSS that’s builtin on our theme. I’ll have the guys check as maybe there’s no need for that anymore.
Thanks, Ben! The CSS changes recommended fixed the problem. I had to do it for both .btn-success and .btn-danger as well as for all hover, active and focus states. It gets the job done but still feels hackish so I hope you guys drop the magnific popup button style overrides from the plugin in the future. Thanks again!