Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

7.1 Hide Portfolio Item on main grid


brigidc.campbell

Question

Site URL: https://buffalo-carrot-5s84.squarespace.com/design-work

I am trying to hide the last 2 projects in my portfolio grid that I still want to appear when using the pagination at the bottom of each portfolio item. I currently have them as linked images much larger in a section above the grid, highlighting these two projects.  I have tried to hide the grid item with css but I am unable to select the individual items. This is what I have so far but it is hiding the whole portfolio.

Site: https://buffalo-carrot-5s84.squarespace.com/design-work

Password: saku

  #gridThumbs { 
    .grid-item {display:none}
   
}

Link to comment

4 answers to this question

Recommended Posts

  • 0

You mean Leviti & Potters?

Use this CSS

a.grid-item[href*="leviti"] {
    display: none;
}
a.grid-item[href*="potters"] {
    display: none;
}

 

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
  • 0

What about for targeting the .portfolio-overlay of a grid item that has a specific href? I'm trying to add specific color overlays for projects but don't want to use nth child so that it doesn't break when I add new projects into the grid

Link to comment
  • 0
On 6/27/2022 at 7:44 AM, Leo29 said:

What about for targeting the .portfolio-overlay of a grid item that has a specific href? I'm trying to add specific color overlays for projects but don't want to use nth child so that it doesn't break when I add new projects into the grid

Use some code like this

a.grid-item[href*="leviti"] .portfolio-overlay {
	background-color: red !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...