The code above is not closed. The closing } bracket is missing. This will make it null automatically. However this is not the issue here. The above code has this css class: “.portfolio-item” this is used to target a single portfolio item.
Do you want to remove the “View All” in the portfolio page category filter? If so, add this code instead: #portfolio-filter ul li.filter.all { display: none;}