Message # 1
Everyone's familiar with uCoz menus, right? Well, they are a little bit too simple in my opinion. You know, menu items have a link associated with them, which is usually just the main page of a module (or a custom page). What is nice about this is that if you're on a module's page and there's a menu item pointing to that module, that menu item gets highlighted (e.g. becomes bold/changes color, whatever). Under the hood what happens is that uCoz adds a CSS class, uMenuItemA, to that menu item.
That only happens if the menu item is pointing to the module directly. If the menu item is pointing to a specific article/entry, and you visit that article's/entry's page, the menu item isn't highlighted AT ALL. Which is a little bit upsetting, because custom menus are pretty pointless if you can only use them for pointing to the main page of modules.
If you're confused what I'm talking about, here's how to reproduce it.
- On your website, add a new news article for example.
- Copy the link of that news article.
- In the control panel, add a new menu item to the main menu. (If you have a custom menu, you can add it there too, but make sure the highlighting works properly for it on module pages)
- Paste the news article's link to the menu item's URL box.
- Open your website, click on the new menu item. The news article opens. Boom, absolutely no highlight at all.
Message # 2
InteLStaT, okay, please specify the URL of your website and provide the screenshots of what exactly are you referring to, since I'm a little bit confused.
Also, please specify what template do you use, a standard one or a custom one.
Message # 3
I'm using template #1714. I've modified some of the HTML templates and added some CSS rules but didn't remove any of the default CSS styles.
I am actually using a second menu bar, that's where my problematic menu items will be. But the main menu would have the same issues (I tested it), so the fact that I'm using a custom menu bar doesn't change anything.
You can see a custom menu bar on the left that I customized with CSS.
Under the menu item "Fizika", there's a menu item "Mechanika". Clicking on it brings you to a Publisher module entry.
I can only get the menu item to be highlighted if I set the menu item's URL to "/publ/ for example. But that's useless, because that's not what I want.
I hope I made it clear. Thank you.
Post edited by InteLStaT - Monday, 2018-08-13, 2:47 PM
Message # 4
InteLStaT, hrrrr, I remember this issue. I've faced the same problem in the past and I remember fixing it somehow but I think I decided not to use the uCoz menu at all and just make a new global block that contained my menu.
hey i'm joe and i do not work for the company anymore, sorry for the late replies
icon by ch-chau
I'm still here for some godforsaken reason