Padding on collection text page

Padding on collection text page

Issued900
Tourist
6 0 2

How do I add a padding around the collection text, and a padding inside the text aswell

Replies 12 (12)

Issued900
Tourist
6 0 2

IMG_5640.jpeg

 sorry I forgot to add an image

TheUntechnickle
Shopify Partner
355 34 93

Hey @Issued900,

Can you please share your store URL, that way we'll be able to write down CSS for you 🙂

Thanks,
Shubham | Untechnickle

Helping for free: hello@untechnickle.com


Don't forget to say thanks, it'll make my day - just send me an email! 


Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App

Issued900
Tourist
6 0 2

Hey thanks for the response

The store URL is https://hypelockeruk.com

The collection page is https://hypelockeruk.com/collections/air-jordan

TheUntechnickle
Shopify Partner
355 34 93

To add padding around the collection wrapper, please add this css to your base.css file:

.collection-text-text .collection-hero__inner .collection-hero__text-wrapper {
    padding: 4rem !important; // Change the value according to your requirement
}

 

Moreover, to add padding around the text - add this CSS:

.collection-hero__title {
    margin: 2.5rem 0 1rem; // Adjust this accordingly
    padding: 3rem !important; // Adjust this accordingly
}

 

Let me know if you've any more questions for me, would love to help 🙂

Cheers!
Shubham | Untechnickle




Helping for free: hello@untechnickle.com


Don't forget to say thanks, it'll make my day - just send me an email! 


Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App

Issued900
Tourist
6 0 2

Hey, I’ve tried it but it didn’t change anything 

TheUntechnickle
Shopify Partner
355 34 93

That's strange.

Can you please share you collaborator code? We'll need to dig a little deeper in your theme code to understand what's blocking it. 

Looking forward to hearing from you,
Shubham | Untechnickle

Helping for free: hello@untechnickle.com


Don't forget to say thanks, it'll make my day - just send me an email! 


Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App

TheUntechnickle
Shopify Partner
355 34 93

Hey @Issued900,

Instead of adding the code to base.css, please update the padding in the collection-hero.css.

That's the file which is actually controlling the style of collection header. You'll find the similar classes there, just update the padding.

Hope that helps 🙂

Cheers!
Shubham | Untechnickle

Helping for free: hello@untechnickle.com


Don't forget to say thanks, it'll make my day - just send me an email! 


Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App

devcoders
Shopify Partner
1107 134 303

Hello @Issued900 

Go to Online Store, then Theme, and select Edit Code.
Search for assets/theme.css Add the provided code at the end of the file.

 

 

 

.collection-text-text .collection-hero__inner .collection-hero__text-wrapper {
    padding: 4rem !important;
}
.collection-hero__title {
    margin-bottom: 20px!important;
}

 

 

devcoders_0-1739642511070.png

 



 

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!
Issued900
Tourist
6 0 2

Still doesn’t work, I put the code in, refresh my website but nothing changes

devcoders
Shopify Partner
1107 134 303

Hello @Issued900 

Go to Online Store, then Theme, and select Edit Code.
Search for assets/theme.css Add the provided code at the TOP of the file.

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!
Issued900
Tourist
6 0 2

IMG_5650.jpeg

IMG_5647.png

  done that aswell, still doesn’t work, is there a reason for this?

LizHoang
Shopify Partner
1250 158 196

Hi @Issued900 

- You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file theme.css and add this code at the end of the file

 

.collection-hero__text-wrapper {
    padding: 4.5rem !important;
}

 

Result: 

LizHoang_0-1739719248957.png

 

Best,

Liz

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program