Hello, I have coded a modal button below but the styling is affecting my entire page and not only the button. I ONLY want it to affect the modal button. What code can I add so that the font and style of the button is the ONLY thing affected and no other parts of my page are changed?:
##
####
{{product.metafields.my_fields.ingredients}}
@Sheesh_b
@KetanKumar
@DitalTek
Hi @Ajaykaransharma - how do I make the modal centered on the page? Also, can you make the button 2x bigger?
Thank you!
Hello @CNatural
can you share the url of site where you add this code? so i can check with.
Thanks
@Ajaykaransharma
https://chickysnatural.com/products/chickys-3-in-1-hero-oil
Scroll down and you’ll see the button.
Also, when you open the modal I need the content to be on top of the page. Right now when you scroll it goes behind pictures instead of staying on top. Thanks!
1 Like
Hello again
replace this code instead of that button code
and for other see this https://prnt.sc/Ha5Qoa8jd7O3
let me know this works
Thanks
Thank you so much @Ajaykaransharma ! Everything works perfectly now! I appreciate your help 