Changing color of e-mail and country box - Sense theme

Hi guys,

I’d like to change the color of the box ‘‘email’’ and ‘‘country/valuta’’ to the color #95B4F0.

Can anyone help me with that code?

Website is kiavuspetstore.com

Hi @KiavusPetstore

Please go to Online Store > Themes > Customize > Theme settings > open Custom CSS, add this code, and save change.

.disclosure .localization-form__select,
.newsletter-form__field-wrapper .field__input {
background: #95B4F0 !important;
}

1 Like

You can achieve this by adding the following CSS code to your theme file, just above the closing tag:

div#FooterCountry-country-results, .country-filter, input#country-filter-input, button.disclosure__button.localization-form__select.localization-selector.link.link--text.caption-large, input#NewsletterForm--sections--20160497025290__newsletter { background-color: #95B4F0 !important; }

This code will change the background color of the “email” and “country/value” boxes to #95B4F0.

Hope this helps!

Best, Ajay

1 Like

Hello @KiavusPetstore

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

.newsletter-form__field-wrapper .field__input, .disclosure .localization-form__select {
background: #95B4F0 !important;
}

and the result will be

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

1 Like

Hello @KiavusPetstore ,

Please add the below code at the bottom of the theme.liquid file before tag and save for the desired change.


I hope the code helps you.

Thank you.

1 Like

  • Then find the base.css file.
  • Then add the following code at the end of the file and press ‘Save’ to save it.
.newsletter-form__field-wrapper .field__input, .localization-form:only-child .localization-form__select  {
 background: #95B4F0 !important;
}
  • Here is the result you will achieve:

  • Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.
1 Like

Perfect Dan, thank you for your fast reply! I forgot to ask, is it also possiblle to make the text inside the blue white (#FDFBF7) now?

.newsletter-form__field-wrapper .field__input, .localization-form:only-child .localization-form__select  {
 background: #95B4F0 !important;
}
.newsletter-form__field-wrapper .field__input::placeholder, .newsletter-form__field-wrapper .field, .localization-form:only-child .localization-form__select {
  color: white !important;
}

You can use this code if you want the color white @KiavusPetstore

Code updated

.disclosure .localization-form__select,
.newsletter-form__field-wrapper .field__input {
background: #95B4F0 !important;
color: #FDFBF7 !important;
}
.newsletter-form__field-wrapper .field:after,
.localization-form__select:after {
border: unset !important;
box-shadow: unset !important;
}
.newsletter-form__field-wrapper .newsletter-form__button .icon,
.newsletter-form__field-wrapper .field__label {
color: #FDFBF7 !important;
}

1 Like

Hey can you please help me on my recent post it would be very appreciated