Page 1 of 1
I want to hide a category on the homepage.
Posted: Tue Jan 23, 2024 5:55 am
by agg1401
I will be starting a blog soon, and I want to hide a category from the homepage. The reason is to prevent it from overshadowing my main content due to business priorities.
Re: I want to hide a category on the homepage.
Posted: Fri Jan 26, 2024 1:56 pm
by Sergelie
You can do it using css, example from my site:
Code: Select all
.plugin-navigation ul li:nth-of-type(1n+7) {
display: none;
}
To be adapted for categories, etc. Keep in mind that if your categories change, it could affect the css result.
Re: I want to hide a category on the homepage.
Posted: Sat Jan 27, 2024 12:38 pm
by Edi
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;
}
This would be a nice idee for a plugin.