how do i change the collection description to be smaller, i want it to be 36276 px for mobile and 65963 for desktop, so that its 2-3 lines instead of just one
store link: https://8c2dd1-3.myshopify.com/collections/best-sellers
A user wants to resize their collection description text box to display 2-3 lines instead of one, with specific dimensions for different devices:
Target dimensions:
A PageFly representative provided a CSS solution involving:
The code snippet targets the .collection-description class with !important flags to override existing styles. The solution appears complete but the posted code contains some formatting issues in the original message.
how do i change the collection description to be smaller, i want it to be 36276 px for mobile and 65963 for desktop, so that its 2-3 lines instead of just one
store link: https://8c2dd1-3.myshopify.com/collections/best-sellers
This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/theme.css->paste below code at the bottom of the file
@media (max-width:767px){
.collection-description {
width: 362px !important;
height: 76px !important;
margin:auto;
}
}
@media (min-width:768px){
.collection-description {
width: 659px !important;
height: 63px !important;
margin:auto;
}
}
Hope my answer will help you.
Kate from PageFly Team