Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I'd like to add a 'contact us' button to a RTF page that I am building and would like to button to look in line with the rest of buy buttons in our store.
I have tried to create the button in an online button generator, but when I copy the code it doesn't work (see screenshot).
What do I need to do?
Thank you.
Solved! Go to the solution
This is an accepted solution.
You may have not placed the attributes used to style your button within the style tag.
Here is an example of valid code:
<div class="myButton"> <a href="./contact" class="button">Contact us</a> </div> <style> .myButton{ display:flex; align-items:center; justify-content:center } </style>
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hi @Olaf2
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
You may have not placed the attributes used to style your button within the style tag.
Here is an example of valid code:
<div class="myButton"> <a href="./contact" class="button">Contact us</a> </div> <style> .myButton{ display:flex; align-items:center; justify-content:center } </style>
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024