hide specific project from project thumb grid
-
wrote on Jun 29, 2024, 8:38 AM last edited by panteley Jun 29, 2024, 4:39 AM
Hi,
How can I hide a specific project from a project thumb grid?
Thanks,
I'm trying something like this atm:
.slug-works .thumbnail-wrap .data-id-1857 { display: none; }
but no results so far.
-
wrote on Jun 29, 2024, 8:45 AM last edited by
Just found a workaround in case somebody else needs a solution,
So basically,
You create a certain category, eg. Grid, and in the Project Thumbail Grid, you choose to display all project that belog to this category.
The project that you don't want to be displayed in the project grid, you create another category 'No Grid', for example.
This way, you choose in a simple way what to display and what not to, in the project grid.
Maybe not the best solution, but it works in some cases.
-
Global Moderatorwrote on Jun 30, 2024, 3:27 PM last edited by arminunruh Jun 30, 2024, 11:27 AM
very good
you can also try this:
.thumbnail-wrap:has(>[data-id="2934"]){ display: none; }
2934 needs to be the id of your project
src:
https://stackoverflow.com/questions/1014861/is-there-a-css-parent-selector
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it