Jump to content

Change message on shopping cart section

Go to solution Solved by tuanphan,

Recommended Posts

Hi! 

I would like to change the message of the shopping cart section; instead of 'You have nothing in your shopping cart' for it to say 'Your bag is empty' . Is that possible? 

Thank you in advance, 

Link to comment

You can add this to Design > Custom CSS

p.empty-message {
    font-size: 0;
}
p.empty-message:before {
    content: "Your bag is empty";
    font-size: 18px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 7/29/2023 at 10:13 AM, tuanphan said:

You can add this to Design > Custom CSS

p.empty-message {
    font-size: 0;
}
p.empty-message:before {
    content: "Your bag is empty";
    font-size: 18px;
}

 

When I add this, this happens: 

Screenshot 2023-08-02 at 13.32.48.png

Link to comment
  • Solution

Try this new code. If if doesn't work, please share your site url, we can check easier

p.empty-message {
    font-size: 0 !important;
}
p.empty-message:before {
    content: "Your bag is empty";
    font-size: 18px !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.