call the login/register modal box

Posted in: Newspaper
Post count: 15

I have a “Call to Action” element within an “About” page. I want to make the button open the login/register modal popup box. Is there a way to make it pop up into the register part of the modal box instead of the login part? How would I go about this?

Post count: 35449

Hi,

If you want to use this popup -> https://www.screencast.com/t/8WdJKnv0lE0 in page on some buttons, then you should use this custom code -> https://pastebin.com/WPTcPU5A and set it in a column text -> http://prntscr.com/pj0x4r and add this custom css http://prntscr.com/pj0yf2
.wpb_text_column a.td-login-modal-js {
background-color: black;
padding: 10px 20px;
border-radius: 5px;
}

Thank you!

Post count: 10

it doesn’t seems to work for me, page becomes dark but pop up never shows up…what can I do?

Post count: 27744

Hello,

Please send a link to your website and some screenshots.

Thank you!

Post count: 10

here is the link http://www.dispensaire.dev.smartegy.ca/nourrir-la-vie-2/

On this screenshot you can see the button that should launch the action: https://prnt.sc/10549mq

Post count: 27744

Hello,

I just did a test with the code provided by my colleague Alex, and it works well
https://www.screencast.com/t/3UKr8YAGcsa -> https://www.screencast.com/t/uxXdh3Rq
This code change only the color on the button on the call to action.
Please check if the code is set correctly in the Theme Panel -> Custom Code -> Custom CSS.

Thank you!

Post count: 10

Thank you! now it’s working ! I was copying css in the page builder css section not in theme panel!

Post count: 10

Sorry, in fact, that button only works when I put the “header login button” in the menu, otherwise it doesn’t work, is that normal?

Post count: 27744

Hello,

I am not sure I fully understand what you mean. Please provide more information and screenshots.

Thank you!

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.