I need help please, to amend the background color on my policy pages as they are all currently stuck the same as my header & footer which looks a mess ![]()
I’ve tried all the following suggestions in Assets->base.css> and they don’t work for me:
.policy-page {
background-color: #F0F0F0;
}
main#MainContent {
background-color: #fff;
color: #000;
}
.shopify-policy__container .shopify-policy__title h1 {
color: #000;
}
.focus-none {
background: #fff !important;
color: #000 !important;
}
.shopify-policy__title {
color: #000 !important;
}
.template-policy {
background-color: #FFFFFF;
color: #000000;
}
and this suggestion using theme.liquid:
{% if the template contains “policies” %}
main#MainContent { background-color: #fff; color: #000; } .shopify-policy__container .shopify-policy__title h1 { color: #000; }{% endif %}
Now save the changes to your theme.