active category in thumbnail grid category filter
-
Hello,
Would it be possible to have some element (like a dot) that indicates what's the active category in a thumbnail grid category filter?
Something like this (see the category filter on the left bottom corner):
Thank you!!
-
sure
.lay-thumbnailgrid-filter-anchor.lay-filter-active:before{ content: ''; display: inline-block; width: 10px; height: 10px; background-color: black; border-radius: 100%; position: relative; top: -3px; margin-right: 3px; }
you can play around with these values:
top: -3px; margin-right: 3px;
to change the position of the circle
you might need to use different values for phone, so you may want to put this css both into custom css for desktop and custom css for phone
in lay options → custom css & html
-
-
Great, thank you!!
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. When using a WordPress Cache plugin, disable it or clear your cache.
Now see if your problem solved itself.
Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it