Hi,
I have a discount codes site and I would like to use wordpress theme Enfold.
I need a button “SHOW COUPON” and when you click the button the discount code is displayed, the button is hidden and open a new web in another tab.
How this can be done using the theme Enfold?
Currently I use javascript to hide/show the button and the label with the discount but on my localhost test with the theme Enfold don’t work this javascript.
Thanks for your reply.
A greeting.
Hey Cenabarato!
What’s the javascript your using? Paste it here.
Regards,
Elliott
Hi Elliott,
This is the code:
<label id=”Codigo” style=”color: white; font-weight: bold; padding-top: 8px;”>DISCOUNT CODE</label><div id=”CouponCode” class=”CouponCode” style=”cursor: pointer; position: relative; z-index: 1; margin-top: -40px; width: 120px; height: 34px;” onclick=”window.open(‘URL’);self.focus();document.getElementById(‘CouponCode’).style.display = ‘none’;document.getElementById(‘Codigo’).style.color = ‘black’;”></div>
I buy a label with a float div over that it’s hidde on click event and show the code.
Regards
Hey!
Not sure. Send us a login when you go live and we’ll take a closer look.
Best regards,
Elliott
Hi,
I need to know if this functionality can be implemented with the above theme Enfold change the theme of my website .
I will create a test site with the theme Enfold to test this functionality .
When you have of the test site I will give you access access so you can help me.
A greeting