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

Change color and position on "contact us" button

Change color and position on "contact us" button

silenceclothing
Explorer
132 0 17

I want to make this button white, make it longer and centered . Does someone know how?

 

silenceclothing_0-1738755591364.png

store url: https://0cait19g4z11oahc-65389560005.shopifypreview.com

Replies 9 (9)

ChiragPatel2911
Shopify Partner
59 10 9

@silenceclothing 

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!

Best Regards,
Chirag Patel (COO - Cirkle Studio PVT LTD)
chirag@cirklestudio.co
silenceclothing
Explorer
132 0 17

i dont have more space there

ChiragPatel2911
Shopify Partner
59 10 9

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.

 

Best Regards,
Chirag Patel (COO - Cirkle Studio PVT LTD)
chirag@cirklestudio.co

Made4uo-Ribe
Shopify Partner
10211 2427 3080

Hi @silenceclothing 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.contact__button button.button {
    background: white !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1738756236210.png

     

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
silenceclothing
Explorer
132 0 17

not working

Made4uo-Ribe
Shopify Partner
10211 2427 3080

Im not seeing in your base.css. try to add in the theme.liquid. 

with this code. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes"
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

EstherBui
Navigator
276 39 44

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: 

EstherBui_0-1738758740509.png

 

Best,

Esther

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

DaisyVo
Shopify Partner
4469 501 600

Hi @silenceclothing 

 

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 %}

 

DaisyVo_0-1738759262043.png

 

Please let me know if it works. Thank you!

Best,
Daisy - Avada Support Team. 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
silenceclothing
Explorer
132 0 17

thanks! is it possible to make it longer, like the same length where you can put in phone number and message?