Hi there,
Is there a code I can add to CSS section to change the text color to white? It is the only page ‘Shipping Policy’ where the text color is off.
Thanks so much,
Steve
A user encountered a text color issue on their Shopify store’s Shipping Policy page where text wasn’t displaying in white as intended.
Solutions Provided:
Three community members offered CSS-based fixes, all following a similar approach:
theme.liquid file</head> or </body> tagThe solutions used conditional logic or targeted CSS selectors to change the text color to white (#fff) specifically for the shipping policy page.
Outcome:
The issue was successfully resolved. The original poster confirmed one of the solutions worked and expressed gratitude. Screenshots were included by respondents showing the implementation steps and expected results.
Hi there,
Is there a code I can add to CSS section to change the text color to white? It is the only page ‘Shipping Policy’ where the text color is off.
Thanks so much,
Steve
Hi @socconnor ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above tag:
{% assign full_url = request.host | append: request.path %}
{% if full_url contains 'shipping-policy' %}
{% endif %}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you ![]()
Hello @socconnor
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
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
That worked! Thank you so much.