Hi - I’m hoping someone can help as I’m banging my head against a wall here. I’m working on a new (unpublished) site theme and can’t figure out how to delete the off of the description text on the collections pages so it’s not in italics. I’ve looked in the main-collection-banner.liquid file but don’t see it wrapped around the {{ collection.description }}. And I can’t restyle it using custom css, since it’s a wrapped tag. Can someone help? Thanks!
Hi @wickedbride
You can try it by code. Example:
.collection-hero__description p {
display: none;
}
That is only a sample, just basing on your screenshot. If you like to have the right code I can provide for your but I need the Store URL.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks - but this wouldn’t work - I’m looking for which .liquid file I can find this block in, because it can’t be styled via CSS. I want the text to display, I just want to take it out of the
…
wrap.Hi @wickedbride
This is Noah from PageFly - Shopify Page Builder App
Basically, the {{ collection.description }} only get all the content from the description that you setting in Shopify. And those is rendered because Shopify auto converts it in the Shopify Description here.
You can go to this description > Open HTML of the Description and delete those or any tag you want
Hope this can help you solve the issue
Best regards,
Noah | PageFly
YES! Thank you! I knew it had to be buried in a setting somewhere and it was driving me mad - thank you so much!
Glad that i can help, let me know if you have any questions

