Jump to content

[Share] Hide a project in Portfolio Page

Recommended Posts

To hide a project on the Squarespace Portfolio Page, you can follow these.

If you can't make it work, you can send link to Portfolio Page on your site, I will check it again.

#1. Find Portfolio Page Layout

Hover on the Portfolio page > Click Edit Section

image.png.b8f4e8c5ab2d8a266481e5a56963855c.png

If the layout is Grid Simple or Grid Overlay, then use the #3.1 code

image.png.3a0377bc909d74f5350de9ac16a6bf01.png

If the layout is Hover: Background, Hover: Follow Cursor, or Hover: Fixed, then use the #3.2 code

image.png.3cb331ce40b2d651273da1e0983b356e.png

#2. Find the project item URL

Hover on each item > Click 3 dots icon > Settings

image.thumb.png.1acb09a889e0bcb9eff5470a649454d2.png

See General > URL Slug

image.png.c85dd58dfec6ef734f2957c489ee7b52.png

In my example, we will have:

  • /portfolio01-gridsimple/project-01
  • /portfolio01-gridsimple/project-02

#3.1. If layout us Grid: Simple or Grid: Overlay, use this code to Custom CSS box

/* Portfolio - Grid Simple + Grid Overlay */
a.grid-item[href="/portfolio01-gridsimple/project-01"], a.grid-item[href="/portfolio01-gridsimple/project-02"] {
    display: none;
}

image.png.2a77598e54b54237d79e08ca41d072e1.png

#3.2. If the layout is Hover: Background or Hover: Follow Cursor or Hover: Fixed, then use this code to Custom CSS box

/* Portfolio - Hover: Follow Cursor + Hover: Fixed + Hover Background */
a.portfolio-hover-item[href="/portfolio01-gridsimple/project-01"], a.portfolio-hover-item[href="/portfolio01-gridsimple/project-02"] {
    display: none;
}

No description available.

#4. Note

The code will not hide items in Pagination

No description available.

Even if you use code to hide items in Pagination, other items will not automatically fill in the blanks. For example, you have 2 items on the left – right, if you hide the item on the left, it will show white space later.

No description available.

You can use this code to Custom CSS to hide Pagination

section.item-pagination[data-collection-type^="portfolio"] {
    display: none !important;
}

No description available.

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!)

Link to comment
  • Replies 0
  • Views 717
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.