Personalize your shopping cart
tomnovy
Registered Users Posts: 1,102 SmugMug Employee
Hi friends,
I have been playing with our shopping cart little bit and I have created little bit of code that will allow you to customize it so that it looks more presonal.
So from this look:
To this:
This code needs to be added to the THEME that you are using → ADVANCED tab → CSS:
Enjoy
I have been playing with our shopping cart little bit and I have created little bit of code that will allow you to customize it so that it looks more presonal.
So from this look:
To this:
This code needs to be added to the THEME that you are using → ADVANCED tab → CSS:
/*** before you use this code make sure that you create three images that will represent those three sections in the shopping cart - each image has to be exactly 336px by 132px upload them to unlisted gallery - then replace the link to your images in the CSS code below ***/ /*** code to change the background image for WALL ART section in the shopping cart ***/ .sm-addtocart-step-categories .sm-catalog-category-wall-art { background-image: url(http://www.photom.me/photos/i-f5vk4V6/0/O/i-f5vk4V6.jpg) !important; } /*** code to change the background image for PAPER PRINTS section in the shopping cart ***/ .sm-addtocart-step-categories .sm-catalog-category-paper-prints { background-image: url(http://www.photom.me/photos/i-VMzSVkH/0/O/i-VMzSVkH.jpg) !important; } /*** code to change the background image for DESK ART section in the shopping cart ***/ .sm-addtocart-step-categories .sm-catalog-category-desk-art { background-image: url(http://www.photom.me/photos/i-9vzvJBG/0/O/i-9vzvJBG.jpg) !important; } /*** code to change the bacground image for DIGITAL DOWNLOADS section in the shopping cart ***/ .sm-addtocart-step-categories .sm-catalog-category-downloads { background-image: url(http://www.photom.me/photos/i-bmmjb2b/0/O/i-bmmjb2b.jpg) !important; } /*** Change the font in shopping cart ***/ .sm-user-ui .sm-addtocart-step-categories .sm-addtocart-product-list p { font-size: 32px; line-height: 1.231; font-weight: 700 !important; text-transform: uppercase !important; } /*** change the size of the arrow in the shopping cart ***/ .sm-user-ui .sm-addtocart-step-categories .sm-addtocart-product-list li .sm-fonticon { color: #fff; font-size: 36px !important; font-weight: 700 !important; } /*** moving cart product name to the middle ***/ .sm-addtocart-step-categories .sm-addtocart-product-list p { bottom: 50px !important; } /*** moving cart arrow to the middle ***/ .sm-addtocart-step-categories .sm-addtocart-product-list li>.sm-fonticon { bottom: 52px !important; } /*** adding black border to the shopping cart pannel ***/ .sm-user-ui .sm-panel-container { border-color: #212121 !important; } /*** removing shadow from the shopping cart panel ***/ .sm-user-ui .sm-modal .sm-panel-container { box-shadow: none !important; }
Enjoy
SmugMug Support Hero | Customizer | My SmugMug site - http://www.photom.me | Customization Portal - https://customsmug.com/
0
Comments
Glad I can finally get rid of that stupid grinning chocolate faced kid off my cart page. Have replaced the stock photos for now with some of my own, will look into customising this further.
My thanks again *fist bump*
Follow me on:
Instagram | Facebook | Flickr
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I actually implemented a "mix of both worlds" - the hover from Hikin' Mike was too nice to leave out, but it worked with the other settings from tomnovy and I figured that implementing it for all five categories right away even though I don't offer Downloads or Desk Art yet, would not be a brainer and would make it easier if I ever choose to add products from these categories.
So if anybody needs it here is the code for all five categories including the hoover effect: