New Shopify Certification now available: Liquid Storefronts for Theme Developers

Change Cart Page Layout when items are in the cart (Dawn 10.0 Theme)

Solved
bet
Shopify Partner
98 7 26

change cart page layout.png

 

I would like to push the information that is below the menu on my cart page up so that the amount of blank white space between my menu and the information below the menu is decreased (see image). I do not want to change the position of the menu or any items above the menu. I only want the css adjustments to affect my cart page when items are in the cart and not impact any other theme pages.


What are the css / html adjustments needed for this on my Shopify Dawn 10.0 theme at my website:


BuyExcelTemplates.com


Thank you.

I use Shopify to sell Digital Downloads ❤️
• Top Rated Excel Templates
• Find your perfect Spreadsheet

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
4192 964 1173

This is an accepted solution.

Hi @bet 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media screen and (min-width: 990px){
    .title-wrapper-with-link {
    margin: 1.5rem 0 3rem !important;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1697659970995.png
  • Note: You can adjust the space but editing or changing the 1.5rem size. 
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 2 (2)
Made4uo-Ribe
Shopify Partner
4192 964 1173

This is an accepted solution.

Hi @bet 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media screen and (min-width: 990px){
    .title-wrapper-with-link {
    margin: 1.5rem 0 3rem !important;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1697659970995.png
  • Note: You can adjust the space but editing or changing the 1.5rem size. 
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


bet
Shopify Partner
98 7 26

Great thanks @Made4uo-Ribe for your solution...worked great!

I use Shopify to sell Digital Downloads ❤️
• Top Rated Excel Templates
• Find your perfect Spreadsheet