Cart notification and cart bubble css problem after clicked button add to cart

Solved

Cart notification and cart bubble css problem after clicked button add to cart

UTOPIA-PARIS
Excursionist
29 1 6

Hey !,  after i clicked button add to cart button into the product view i don't know why this showed up like that :

 

Capture d’écran 2024-09-15 à 14.24.07.png

 

the url website is: utopia-paris.fr

 

Thanks !

Accepted Solutions (3)
suyash1
Shopify Partner
9853 1226 1566

This is an accepted solution.

@UTOPIA-PARIS  remove previous line and try this

.cart-notification-product__image img{margin-top: 0 !important;}
To build shopify pages use pagefly | Contact me - [email protected] , My timezone is GMT+5:30. | Support me

View solution in original post

BSSCommerce-B2B
Shopify Partner
1718 512 574

This is an accepted solution.

@UTOPIA-PARIS , use  this code in base.css  file 

#cart-notification-button,
.cart-notification__links > button {
    color: rgb(var(--color-foreground))!important;
}
.cart-count-bubble {
  left: 2.2rem!important
}

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

View solution in original post

BSSCommerce-B2B
Shopify Partner
1718 512 574

This is an accepted solution.

@UTOPIA-PARIS , sorry please change the previous code like this

#cart-notification-button,
.cart-notification__links > button {
    color: rgb(var(--color-foreground))!important;
}
.cart-count-bubble {
  left: auto!important;
  right: 0px!important
}

 

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

View solution in original post

Replies 14 (14)

suyash1
Shopify Partner
9853 1226 1566

@UTOPIA-PARIS - 
please add this css to the very end of your base.css file and check,
Shopify Admin -> Online Store ->Theme -> Edit code -> base.css

 

.cart-notification-product__image{margin-top: 0 !important;}
To build shopify pages use pagefly | Contact me - [email protected] , My timezone is GMT+5:30. | Support me
UTOPIA-PARIS
Excursionist
29 1 6

it's still te same even after put this code 

suyash1
Shopify Partner
9853 1226 1566

This is an accepted solution.

@UTOPIA-PARIS  remove previous line and try this

.cart-notification-product__image img{margin-top: 0 !important;}
To build shopify pages use pagefly | Contact me - [email protected] , My timezone is GMT+5:30. | Support me
UTOPIA-PARIS
Excursionist
29 1 6

Thanks it's work but the bubble cart number indications still here :

 

 

Capture d’écran 2024-09-15 à 14.57.51.png

 

and how to change the color of the first button of cart view ? because its not appear on personnalisation of shopify 

 

thx for you help !

suyash1
Shopify Partner
9853 1226 1566

@UTOPIA-PARIS  for bubble please add this

 

.cart-count-bubble{left: 2.2rem;}
To build shopify pages use pagefly | Contact me - [email protected] , My timezone is GMT+5:30. | Support me

BSSCommerce-B2B
Shopify Partner
1718 512 574

@UTOPIA-PARIS,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.liquid

Step 3: Add this code before </body>

<style>
#shopify-section-sections--23577226641748__header {
   position: relative;
}
cart-notification {
    position: absolute;
    top: 35px;
    right: 0;
    min-width: 380px;
    z-index: 1000
}
#cart-notification-button,
.cart-notification__links > button {
    color: rgb(var(--color-foreground));
}
#cart-notification-product {
    padding: 0;
    margin-top: 55px
}
</style>

Result:

BSSCommerceB2B_0-1726404595643.png

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

UTOPIA-PARIS
Excursionist
29 1 6

hey ! thanks for you help but this getting too much on the right, its better to keep is default position.

 

Did you know how to fix the position of the cart buble number ? and to change the color of first button of the cart view :

 

Capture d’écran 2024-09-15 à 15.05.03.png

 

 

thanks !

BSSCommerce-B2B
Shopify Partner
1718 512 574

This is an accepted solution.

@UTOPIA-PARIS , use  this code in base.css  file 

#cart-notification-button,
.cart-notification__links > button {
    color: rgb(var(--color-foreground))!important;
}
.cart-count-bubble {
  left: 2.2rem!important
}

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

UTOPIA-PARIS
Excursionist
29 1 6

This worked perfectly thanks !

UTOPIA-PARIS
Excursionist
29 1 6

But when we get back to the shop the bubble go away from his place

 

Capture d’écran 2024-09-15 à 15.16.10.png

 

 

BSSCommerce-B2B
Shopify Partner
1718 512 574

This is an accepted solution.

@UTOPIA-PARIS , sorry please change the previous code like this

#cart-notification-button,
.cart-notification__links > button {
    color: rgb(var(--color-foreground))!important;
}
.cart-count-bubble {
  left: auto!important;
  right: 0px!important
}

 

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

UTOPIA-PARIS
Excursionist
29 1 6

It's okay ! perfect thx for u help !!!

BSSCommerce-B2B
Shopify Partner
1718 512 574

You're welcome 😊

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

UTOPIA-PARIS
Excursionist
29 1 6

hey ! i come back because now when you click on button to add to basket the span is hidden like this : 

 

Capture d’écran 2024-09-29 à 21.43.48.png

 

by the way, how can i change the color of buttons of card notification ? 

 

 

thanks !