Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I want to make this button white, make it longer and centered . Does someone know how?
store url: https://0cait19g4z11oahc-65389560005.shopifypreview.com
You can add this CSS in your customize theme -> theme settings -> Custom theme https://prnt.sc/aoWxHYbNmUzL
#ContactForm .button {
background: transparent;
border: 1px solid #fff;
color: #fff;
}
After adding this CSS the result will be like this https://prnt.sc/a3q6RqGtKncn
please don’t hesitate to reach out if you still face a problem. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
i dont have more space there
You can add that CSS inside your base.css file.
Go to the online store -> Click on action (three dot) -> Edit code
Fine the file base.css add the same CSS which is mentioned in my previous comment at the end of the file and save that file.
Try this one.
.contact__button button.button {
background: white !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
not working
Im not seeing in your base.css. try to add in the theme.liquid.
with this code.
<style
form#ContactForm .contact__button button.button {
background: white !important;
}
</style>
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi Silenceclothing
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
.contact__button .button {
background: #fff !important;
width: 50% !important;
}
.contact__button {
justify-content: center !important;
display: flex !important;
}
Result:
Best,
Esther
I hope you are well. You can follow our instructions below:
1/ Shopify admin > Online store > Edit code: https://prnt.sc/M4p-gua99Uf4
2/ Search for "theme.liquid" file: https://prnt.sc/b6xveIKe-Rh2
3/ Open the file and search for </head> tag and add the following code above </head> tag: https://prnt.sc/KWtKYyZkDtYJ
Here is the code for Step 3:
{% style %}
.contact__button {
display: flex;
justify-content: center;
}
.contact__button > button {
background: white;
width: 180px;
}
.contact__button > button::after {
display: none !important;
}
{% endstyle %}
Please let me know if it works. Thank you!
Best,
Daisy - Avada Support Team.
thanks! is it possible to make it longer, like the same length where you can put in phone number and message?