How do I stylize my custom added font so all the text is capitalized for the headings and subheadings without doing it manually?
website URL is: https://healthyboba.com/
A user seeks to capitalize all text in headers, subheadings, and announcement bars using a custom font on the Minimal theme without manual editing.
Solution Provided:
text-transform: uppercase !important; targeting specific elementsImplementation Details:
.header-bar__message.site-nav li *.header-bar__module *.grid-link__titleOutcome:
Original poster confirmed the solution worked successfully after the code revision.
Ongoing Questions:
Other users with different themes (Modular theme) are asking where to implement similar code, and one user reports the solution isn’t working for their specific site, indicating theme-specific variations may require adjustments.
How do I stylize my custom added font so all the text is capitalized for the headings and subheadings without doing it manually?
website URL is: https://healthyboba.com/
Do this to fix it in 20 seconds:
.site-nav li *,
.header-bar__module *{
text-transform: uppercase !important;
}
Please let me know whether it works.
Kind regards,
Diego
it only capitalized the text for the header bar, not the announcements or subheadings.
Replace the previous code with this one:
.header-bar__message,
.site-nav li *,
.grid-link__title,
.header-bar__module *{
text-transform: uppercase !important;
}
Perfect, all capitalized!
Thanks for your help!
@zoepuno you’re welcome, I’m glad to hear that!
Next time feel free to contact me personally, I’ll be happy to help.
Kind regards,
Diego
Hi everyone,
Could someone please tell me how I could capitalise my headers in the Modular Theme?
Any help would be much appreciated.
Thank you ![]()
where do i enter this code?
Hi Deigo,
I have tried this and it is not working for me for some reason… my site is in edit mode https://musclecreekcreative.myshopify.com/ Can you please help as I really need to capitalise my headers.