Current Status:
The solution initially worked on desktop, but the original poster reported that the italic styling is not applying on mobile devices. The issue remains unresolved for mobile view, with the user seeking additional help to extend the fix across all device types.
Summarized with AI on October 26.
AI used: claude-sonnet-4-5-20250929.
Hope everyone is doing well. I wish to change the font-style of the caption that is under the CTA button in the image banner. I want to make it Italic. Is there a custom code that will help me out to make it happen?
I am attaching a screenshot so you can get to see more specifically:
Welcome to the Shopify Community! Really excited to help you tackle this one.
Mind sharing your store URL so I can dive in and see exactly what’s going on? If you’ve got a password set up, just toss that my way too. I’ll take a thorough look at your setup and get you a rock-solid solution that’s clean, optimized, and works like a charm.
Looking forward to getting this wrapped up for you.
Thank you so much for answering. Unfortunately it did not worked out with this code. But! Moeed above you answered and it worked. So you can take a look.
Hey! Yes, you can make that caption italic with a small CSS tweak, assuming the caption has its own class or is inside a unique container under the image banner.
If that doesn’t work right away, right-click on the caption in your browser (use Inspect) and check what class or tag it’s using. You might need to adjust the selector based on your theme.
If you’re not comfortable digging through the code or want to clean up other banner text styles too (like spacing, font size, mobile layout), I help store owners customize these exact sections every day.
Let me know if you’d like me to jump in and get it done quickly.
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Yesterday the code was working perfectly, but apparently, on mobile the code is not working. I know it doesnt make sense, but somehow thats the situation. Do you know how to do the same on mobile, so it gets italic or its not possible?