Shopify themes, liquid, logos, and UX
Hello,
For my store, I would like to change the font-family and font-size of the text overlay on the hero image in the header. While I know the css code to change the text attributes, I am unable to identify the correct css class selector for the main title, sub title and description.
Anyone interested to help, please reply so I can send you the url.
Thanks in advance to all.
Hello @CW5 👋
Try this selector
.slider-content .main-title,
.slider-content .sub-title,
.slider-content .desc {
CSS code
}
Thanks @ZenoPageBuilder . Tried that, but it didn't work. Likely because it is a paid theme with customisations, so you may need to "inspect" the code.
I doubled check and the selector is correct. Make sure you add !important to the CSS code to overwrite theme settings, for example
.slider-content .main-title,
.slider-content .sub-title,
.slider-content .desc {
color: red !important;
}
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025