Why does my custom CSS code keep showing as invalid?

Why does my custom CSS code keep showing as invalid?

unfoldesthetics
Excursionist
31 0 3

Hello,

 

I am needing help with identifying why anytime I try to put something in the Custom CSS of my image banner, it keeps giving me this:

 

Setting 'text' is invalid. Tag '<p>' is not permitted.

 

I am unable to put in any sort of code because it says it's invalid.

 

Please help!

 

Thank you.

Replies 2 (2)

Dan-From-Ryviu
Shopify Partner
10961 2148 2287

Hi @unfoldesthetics 

Please select Heading and Text block of your image banner section and remove <p> tag if they exist and and check again

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Made4uo-Ribe
Shopify Partner
9870 2351 2947

Hi @unfoldesthetics 

 

You can use the code below as reference when placing the code in the custom css. Do not put the angle brackets "<>"

 

p {
color: red
}

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.