Re: How do I change the width of the form? Also, how do I change the color of button text?

How do I change the width of the form? Also, how do I change the color of button text?

SweatFree
Shopify Partner
53 0 11

Hi, few questions:

 

1) how do I change the width of the form so that the text (be the first to know...) is in 2 lines instead of 3 lines? 

2) Or is there is a way to change the size of the text? I just want it in 2 lines.

3) Also, how do I change the color of the button text where it says "JOIN" to purple?

4) Finally, is there a way to make the word "Email" in purple? 

 

Untitled.png

Chanakya Ramdev
Founder | Sweat Free (www.sweatfree.co)

https://www.SweatFree.co
Replies 11 (11)

niraj_patel
Shopify Partner
2378 514 512

Hello @SweatFree 

would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
SweatFree
Shopify Partner
53 0 11

Website is www.sweatfree.co & password is sweatfree123

Chanakya Ramdev
Founder | Sweat Free (www.sweatfree.co)

https://www.SweatFree.co
niraj_patel
Shopify Partner
2378 514 512

Hello @SweatFree 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
   h2._textHeading_2aowh_35 {
     font-size: 20px !important;
   }
  button._formSubmitButton_1ll8d_81 {
    color: #5433eb !important;
  }
  label._formInputFieldLabel_1ydxd_37 {
    color: #5433eb !important;
  }
  input._formInputField_237zm_7 {
     color: #5433eb !important;
  }
</style>

techlyser_web_0-1720798789453.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

GTLOfficial
Shopify Partner
560 122 111

Hello @SweatFree 
your website is password protected.

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
SweatFree
Shopify Partner
53 0 11

The website is www.sweatfree.co & the password is sweatfree123

Chanakya Ramdev
Founder | Sweat Free (www.sweatfree.co)

https://www.SweatFree.co
GTLOfficial
Shopify Partner
560 122 111

Go to online store ---------> themes --------------> actions ------> edit code------->base.css or theme.css
add this code at the bottom of the file.

:not(.isPreview)._floating_1w3ro_52 ._grid_1w3ro_148, ._overlay_1w3ro_100 ._grid_1w3ro_148 {
max-width: 40% !important;
}

label._formInputFieldLabel_1ydxd_37 {
color: #5433eb;
}

button._formSubmitButton_1ll8d_81 {
color: #5433eb;
cursor: pointer;
}

 and the result will be
16.png

If this was helpful, hit the like button and mark the job as completed.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
SweatFree
Shopify Partner
53 0 11

Sorry it didn't work. Could you please double check?

Chanakya Ramdev
Founder | Sweat Free (www.sweatfree.co)

https://www.SweatFree.co

Moeed
Shopify Partner
5530 1499 1789

Hey @SweatFree 

 

Your website is password protected, can you share the password as well?

 

Best Regards,

Moeed

 

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


SweatFree
Shopify Partner
53 0 11

Website: www.sweatfree.co & password: sweatfree123

Chanakya Ramdev
Founder | Sweat Free (www.sweatfree.co)

https://www.SweatFree.co

polo_msweb
Shopify Partner
18 1 4

Hi SweatFree,

 

Here are the solutions for each of your queries:

  1. Changing the width of the form to fit text in 2 lines:

    • To adjust the form width so that the text ("Be the first to know...") fits into 2 lines instead of 3, we can modify the CSS for the form container. Could you please provide me with the URL of the page or the specific form code snippet you're referring to? This will help me provide you with more targeted instructions.
  2. Changing the size of the text:

    • Yes, you can change the size of the text to ensure it fits into 2 lines. Depending on how your form is structured (whether it's embedded, a popup, or part of a specific app), we can adjust the font size using custom CSS. If you can share the form code or where it's located, I can guide you on the exact CSS adjustments needed.
  3. Changing the color of the button text ("JOIN") to purple:

    • This can be done using custom CSS. If you provide me with the class or ID of the button element, I can assist you with the CSS code to change the text color to purple.
  4. Making the word "Email" in purple:

    • Similar to changing the button text color, we can target the "Email" label specifically with CSS to change its color to purple. Again, knowing where this label is located (form field, button label, etc.) will help me give you precise instructions.

If it’s helpful to you, please mark it as a solution.  


Need Help with Shopify Speed Optimization and Any Custom Shopify tasks
email: task4store@mswebdesigner.com
Download Free Shopify Speed Optimization Guide book for 2024 

SweatFree
Shopify Partner
53 0 11

My website is www.sweatfree.co & my password is sweatfree123

Chanakya Ramdev
Founder | Sweat Free (www.sweatfree.co)

https://www.SweatFree.co