Warning: This is not a long-term solution.
Caveat: This fix does not work on Portal pages, like Public Data.
The long-term solution is that the template markup should not create a link (because Design does forbids a page that both is a parent of pages and has its own content).
<style type="text/css">
/* Prevent user from functional hover and click on dropdown nav link */
/* TODO: After merge and deploy of GH-101 to this site, delete this snippet */
/* FAQ: GH-101 Solves GH-129 "the right way") */
.s-cms-nav .nav-item.dropdown .nav-link a:not(.dropdown-toggle):not(.dropdown-item) {
pointer-events: none;
}
</style>
Status
Moved to FP-1235.
Archived
Original description...
Status
taccsite_cms/templates/cms_menu.html).Goal
Remove support for a nav menu item to be a link and have a dropdown.
Requirements
* [This clarification was added] on 2021-08-11 during CEPv2 Testing Session.
†
No CEPv2 website yet has dropdown menu and User Guide, so this requires special testing.Background
This is a feature that @tacc-wbomar added that now needs to be removed.
Direction
To remove ad hoc per site…
Add this snippet to the footer:
NAME:
GH-129: CSS: Temp. Fix to Remove Dropdown Nav Link SupportHTML:
SLUG:
gh-129-css-temp-fix-to-remove-dropdown-nav-link-support