#gk-popup-cart content floats around

May 2014 WordPress Theme
GK User
Tue Jun 02, 2015 2:12 pm
I'm having problem with the products in the cart. When you have a product with variations they don't align and will be places under the image. So if you have more products you won't be able to see the whole cart.

See screenshot
http://cl.ly/image/0w3H3x2g1h2F
User avatar
Senior Boarder

GK User
Wed Jun 03, 2015 8:21 am
Hi,

Try to add the following code into the theme’s css/override.css file (make sure to enable the “Use the override.css file” option in Template options > Advanced in the WordPress backend)

Code: Select all
#gk-popup-cart .variation dd:before,
#gk-popup-cart .variation dd:first-of-type p:before {
   display: none;
}

#gk-popup-cart .variation dd p:before {
   content: ", ";
   display: inline-block;
}
#gk-popup-cart .variation dd {
   display: inline-block;
}
User avatar
Moderator

GK User
Wed Jun 03, 2015 9:36 am
Very nice! Looks much much better :D
User avatar
Senior Boarder


cron