Shopify themes, liquid, logos, and UX
Hello, I am using the venture theme for my Shopify store. On certain pages, I want to change the colour of the "Title" text as it clashes with the background.
I am aware that you can go to customise website, then go to theme settings and then 'colours' and change the title text colour there but this way it will change it all over the website creating a mess.
Is it possible to change the Title text colour specifically on a individual page via code? can anyone instruct me how to do so or direct me to a video?
Thanks.
@JATSGS
You should be able to go into the Liquid code of the "layouts/theme.liquid" file and add a class like this:
{{ request.page_type }}-{{ request.path | split: '/' | last }}
to the "body" element. From there you can target that class with CSS so it may look something like this for an About page:
.page-about h1 {
color: #ffec80;
}
if you want the color of the title to be a light gold.
Hope that helps!
Hello!
I was not able to get this to work. Is there a way to change the title color on specific pages as well as the background color of the entire page? Thanks!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025