Jump to content

How to change the automatic "All" to "View All" on product category please?

Recommended Posts

  • Replies 2
  • Views 595
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

You could add the following CSS below. 

CSS

/* Hide default "All" text */
a.category-link.root.active {
  visibility: hidden;
  position: relative;
}

/* Display custom text */
a.category-link.root.active:after {
  content: 'View All';
  visibility: visible;
  position: absolute;
  left: 0;
}

Example:

Window.thumb.png.e73d7d30fd42f04a0363e36c95149866.png

Full stack developer who loves helping people out with anything web related. If you'd like to support me, buy me a coffee!

Link to comment
On 1/4/2022 at 7:35 AM, jpeter said:

You could add the following CSS below. 

CSS

/* Hide default "All" text */
a.category-link.root.active {
  visibility: hidden;
  position: relative;
}

/* Display custom text */
a.category-link.root.active:after {
  content: 'View All';
  visibility: visible;
  position: absolute;
  left: 0;
}

Example:

Window.thumb.png.e73d7d30fd42f04a0363e36c95149866.png

Thank you, I've tested it out but it hasn't worked. Do you think it's because I have a filter plugin now? 

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.