Re: Make "Drawer" cart style full height

Solved

Make "Drawer" cart style full height

nativesons
Tourist
18 0 2

We are currently using the "Drawer" style cart on our Shopify store but it only seems to be taking up a portion of the designated space cutting off any longer list of items.

Screenshot 2024-07-24 at 5.34.18 PM.png

How would we edit this to make it full height instead of having the bottom portion be the blank space?

Our URL is: https://native-sons-roasters-3430.myshopify.com/

Accepted Solutions (2)

BSSCommerce-HDL
Shopify Partner
1887 655 785

This is an accepted solution.

Hi @nativesons

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

<style>
.ajax-cart.ajax-cart--drawer .ajax-cart__form {
    max-height: 100vh !important;
}

#theme-ajax-cart.is-drawer {
  overflow: hidden !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1721871794638.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

ZestardTech
Shopify Partner
5718 1049 1380

This is an accepted solution.

Hi @nativesons 

 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > styles.css and paste this at the bottow of the file:

 

.ajax-cart.ajax-cart--drawer .ajax-cart__form {
max-height: 100vh !important;
}
#theme-ajax-cart.is-drawer {
overflow: hidden !important;
}

 

ZestardTech_0-1721889401773.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

View solution in original post

Replies 2 (2)

BSSCommerce-HDL
Shopify Partner
1887 655 785

This is an accepted solution.

Hi @nativesons

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

<style>
.ajax-cart.ajax-cart--drawer .ajax-cart__form {
    max-height: 100vh !important;
}

#theme-ajax-cart.is-drawer {
  overflow: hidden !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1721871794638.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

ZestardTech
Shopify Partner
5718 1049 1380

This is an accepted solution.

Hi @nativesons 

 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > styles.css and paste this at the bottow of the file:

 

.ajax-cart.ajax-cart--drawer .ajax-cart__form {
max-height: 100vh !important;
}
#theme-ajax-cart.is-drawer {
overflow: hidden !important;
}

 

ZestardTech_0-1721889401773.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing