Hi.
You must apply styles to class “a.spu-open-{POPUPID}”
For example if the popup ID is 167, you must put in your css:
a.spu-open-167 {
border-radius : 8px;
padding: 10px;
margin: 10px;
background-color: #EEE;
color: #000:
}
Regards
-
This reply was modified 7 years, 9 months ago by
gonzalesc.
-
This reply was modified 7 years, 9 months ago by
gonzalesc.
Plugin Author
Damian
(@timersys)
Or you can add that classs spu-open-167 to an existing button or any other html tag.
Eg:
<button class="spu-open-167 button-primary">Click me</button>
If you like the plugin / support please leave a short review. It’s a tremendous help for us!
Thanks
Thread Starter
Mikey
(@mikeyhash)
Hey guys,
Thank you for your answers.
I have one more issue here: If the form that I am popping up is long, meaning that it is longer (vertically) than the screen on desktop, I cannot scroll down to the bottom of the form. It just stays in a fixed position, and I need it to be scrollable. Instead, the website page from behind the popup is the scrollable element, and not the popup. The form is created in Ninja Forms, shouldn’t be a problem, but just fyi.
Please help me with this one, maybe I’m not doing something right.
Many thanks!
Thread Starter
Mikey
(@mikeyhash)
That’s exactly how I was expecting it to work. But it doesn’t. The scrollable element is the background page, instead of the popup.
Well, I think I know why this is happening. The content of my popup is just a shortcode for a form created in Ninja Forms (e.g. [ninja_form id=117] ). If I enter plain phrases the popup is indeed scrollable.
Should I be using it in another way, instead of just inserting the shortcode? I just want to popup a form created in NF. Are they not fully compatible?
-
This reply was modified 7 years, 9 months ago by
Mikey.
Plugin Author
Damian
(@timersys)
Could you please share a url where we can see the issue?