I want to hide a category on the homepage.
-
- Sr. Bludit
- Posts: 32
- Joined: Sun Feb 14, 2021 3:19 pm
- Has thanked: 6 times
- Been thanked: 4 times
- Contact:
You can do it using css, example from my site:
To be adapted for categories, etc. Keep in mind that if your categories change, it could affect the css result.
Code: Select all
.plugin-navigation ul li:nth-of-type(1n+7) {
display: none;
}
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 78 times
- Contact:
This would be a nice idee for a plugin.Sergelie wrote: ↑Fri Jan 26, 2024 1:56 pm You can do it using css, example from my site:Code: Select all
.plugin-navigation ul li:nth-of-type(1n+7) { display: none; }
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets