Hello, i have troubles to change the background color of the global contact form on Dawn behind the text, you can change the contact background color form on the bottom but not on the top with the text, also i would like to change the color of the title h1, the button send and the square boxes for this green 30E413
For the background in white behind the text i would like to change it for this black 121212 ans put the text in white FFFFFF to be visible, any idea where i can go in the code ? Thank you
hello, yes : https://mobilegear.fr/pages/contact
It is the contact page unfortunately on the Dawn theme you can change the color only in the boxes section not the text
You want to change background color(30E413) of these boxes?
Like This:
no, the send button yeah in green like this, not the full boxes in green but just the squares around and the white part of my page where the text is i want to put it in black so full page in black and green button and green rectangles
You can add code by following these steps
-
Go to Online Store â Theme â Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
{% if page contains âcontactâ %}
.field:before{
box-shadow: var(--inputs-shadow-horizontal-offset) var(--inputs-shadow-vertical-offset) var(--inputs-shadow-blur-radius) #000 !important;
}
.field:after{
border: .1rem solid #000 !important;
box-shadow: 0 0 0 var(--inputs-border-width) rgb(14 13 13 / 96%) !important;
}
.button:before{
box-shadow: var(--shadow-horizontal-offset) var(--shadow-vertical-offset) var(--shadow-blur-radius) #30E413 !important;
}
.button:after{
box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgba(18,18,18, calc(1 - 1.0 )), 0 0 0 var(--buttons-border- width) #30E413 !important;
}
section#shopify-section-template--21240830656861__main {
background: #121212 !important;
}
h1.main-page-title.page-title.h0.scroll-trigger.animate--fade-in {
color: #fff !important;
}
.rte.scroll-trigger.animate--slide-in {
color: #fff !important;
}
{% endif %}
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
thx for your reply, i tried just added before body at the end of theme.liu=quid but this is not changing anything on the contact page
remove all code and apply this
#shopify-section-template--21240830656861__main .field:before{
box-shadow: var(--inputs-shadow-horizontal-offset) var(--inputs-shadow-vertical-offset) var(--inputs-shadow-blur-radius) #000 !important;
}
#shopify-section-template--21240830656861__main .field:after{
border: .1rem solid #000 !important;
box-shadow: 0 0 0 var(--inputs-border-width) rgb(14 13 13 / 96%) !important;
}
#shopify-section-template--21240830656861__main .button:before{
box-shadow: var(--shadow-horizontal-offset) var(--shadow-vertical-offset) var(--shadow-blur-radius) #30E413 !important;
}
#shopify-section-template--21240830656861__main .button:after{
box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgba(18,18,18, calc(1 - 1.0 )), 0 0 0 var(--buttons-border-width) #30E413 !important;
}
section#shopify-section-template--21240830656861__main {
background: #121212 !important;
}
#shopify-section-template--21240830656861__main h1.main-page-title.page-title.h0.scroll-trigger.animate--fade-in {
color: #fff !important;
}
#shopify-section-template--21240830656861__main .rte.scroll-trigger.animate--slide-in {
color: #fff !important;
}
i also tried to add the code on contact-form.liquid but same no changes
remove all code and add this
.field:before{
box-shadow: var(--inputs-shadow-horizontal-offset) var(--inputs-shadow-vertical-offset) var(--inputs-shadow-blur-radius) #000 !important;
}
.field:after{
border: .1rem solid #000 !important;
box-shadow: 0 0 0 var(--inputs-border-width) rgb(14 13 13 / 96%) !important;
}
.button:before{
box-shadow: var(--shadow-horizontal-offset) var(--shadow-vertical-offset) var(--shadow-blur-radius) #30E413 !important;
}
.button:after{
box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgba(18,18,18, calc(1 - 1.0 )), 0 0 0 var(--buttons-border-width) #30E413 !important;
}
section#shopify-section-template--21240830656861__main {
background: #121212 !important;
}
h1.main-page-title.page-title.h0.scroll-trigger.animate--fade-in {
color: #fff !important;
}
.rte.scroll-trigger.animate--slide-in {
color: #fff !important;
}
1 Like