Jump to content

"more colours available"

Recommended Posts

  • Replies 6
  • Views 501
  • Created
  • Last Reply
  • 1 month later...
Posted
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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 1 month later...
Posted

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 😕

Posted

Also this CSS code no longer works ? would you know why ? 

header.Header [href*="Category=sale"] {
    color: #FF0000 !important;

Posted
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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.