hide description
-
Hi Armin
I've added a description to my thumbnails on the homepage which indicates the category from my menu bar however i'd like to hide the said description once you're clicked on the category page itself.
is that possible?
Cheers
Toby -
Hi Toby,
without sewing the website it is a bit difficult to come up with a solution.
Can you upload it for us?
Many thanks!
Marius
-
Yep - www.tobyneilan.com
-
Hi Toby,
I try to explain:
Each page has a slug. For example when you click on a category the page will get the class
.type-category
:The description also has a class called
.descr
:So if you add to your Custom CSS the following you should have no descriptions in the category page:
.type-category .descr { display: none; }
I hope I could help!
Best!
Marius
-
Thanks Marius - I added the code and it did hide the description, but it also hid it on the home page too
the one page where I want to keep the description. -
Solved it - thanks for the help.
Toby
Try this to fix issues 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. Now see if your problem solved itself
5. 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