Hello everyone, im looking how to create this type of subscribe drop menu.
The button “Suscríbete” / Subscribe drop down entire website and appears a menu to add name and email to subscribe to newsletter and the email icon are twinkle…
Any ideas, app or code to create it?
you can check i this website: https://www.greenglass.cl/

hello there
To create a similar subscribe dropdown menu like on the website https://www.greenglass.cl/, you can use a combination of HTML, CSS, and JavaScript/jQuery. Here is an example code snippet that you can modify to suit your needs:
HTML:
Suscríbete
### ¡Suscríbete a nuestro boletín!
JavaScript/jQuery:
$(document).ready(function() {
$('.subscribe-btn').click(function(e) {
e.preventDefault();
$('.subscribe-form').slideToggle();
$('.email-icon').toggleClass('twinkle');
});
});
This code will create a button that when clicked, toggles the display of a subscription form with a name and email input field and a submit button. The email icon will also twinkle when the form is displayed. You can modify the HTML and CSS to match the design of the example website, and adjust the JavaScript/jQuery as needed.
1 Like
thank you very much!! where do you recommend to add in shopify? i mean… before or after what code? and file?