Jump to content

"more colours available"

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

On 7/31/2021 at 2:14 AM, maxi said:

Site URL: https://maxishop.ca/marc-cain

-Is there code to add below each item in gallery that indicates 'more colours available' ?

It is "text only" or?

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
  • 1 month later...
On 9/18/2021 at 10:52 PM, maxi said:

yes text only

 

Add to Design > Custom CSS

div.ProductList-item:after {
    content: "more colors";
    display: block;
    position: absolute;
    bottom: -5px;
    z-index: 9999;
    visibility: visible !important;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
}

 

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
  • 1 month later...
On 11/1/2021 at 9:39 PM, maxi said:

Thank you .. but the programming above adds the text ( more colors ) to all items .. I cannot edit and control which items have more colors and which fo do not ? the CSS added the text to all items 😕

#1. First, add tag: more-colors for products you want to add more colors text

next, add this new code

.tag-more-colors div.ProductList-item:after {
    content: "more colors";
    display: block;
    position: absolute;
    bottom: -5px;
    z-index: 9999;
    visibility: visible !important;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
}

#2. Your code for?

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.