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
2305 834 905

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

ZestardTech
Shopify Partner
5987 1076 1439

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
2305 834 905

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

ZestardTech
Shopify Partner
5987 1076 1439

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