I have a Joomla-Based website and as far as I know, the only way to define the first site is to set it in the main menu.
For design reasons, I dont want a “Home” button in my main menu.
I need a way to hide it, or an other way to define my homepage.
From Joomla, I get a ul with li elements for each menu point. I would need a way to remove the first element (best via php on server side).
On my opinion js is not an option, just because you would mention it when an element disappears from the menu….
Any suggestions?
I have a Joomla-Based website and as far as I know, the only way
Share
You could use CSS and the first-child selector to remove the first menu item: