The University of British Columbia
UBC - A Place of Mind
The University of British Columbia Okanagan campus
CMS at UBC's Okanagan Campus
  • Home
  • About
    • WebCore
    • Roles & Responsibilities
    • Enhancement Requests
  • Support & Training
    • UBCO CMS Guide
    • Faculty & Department Theme Guide
    • Training
  • New Site Requests & Builds
    • Website Build Process
    • Request New Website
    • Discovery & Sitemap
    • Content Starter Pack Guide
    • Content Entry & Migration
    • Brand & Quality Review and Launch
    • Website Project List
  • UBC Self Service Portal
UBCO CMS / CMS Guide / Toggle open a top level navigation item that doesn’t have a link

Toggle open a top level navigation item that doesn’t have a link

By Jamie Edwards on August 8, 2018

At times you might need to toggle open/closed a top level navigation item that doesn’t have it’s own link. For instance an Apply Now button that has two sub level items 1) Undergraduate and 2) Graduate. The “Apply Now” portion of the button doesn’t have it’s own link, so if someone clicks the button nothing happens unless you click the small section on the far right of the button, to the right of the little line. It is much better to have the entire button show the child navigation items when there isn’t a link on the parent button.

To add a toggle to a top-level parent navigation item that has child items simply add the CSS Class navbar-toggle to the parent item in the Admin Dashboard, location Appearance>Menus, open the item you want to add a class to and add the class. If you don’t see the CSS Classes option, you may need to turn it on on the Screen Options menu.

Posted in Adding Functionality, CMS Guide | Tagged navbar

  • How do I right align a menu item?
  • [RESOLVED] UBCO WordPress CMS Email Service Outage
Website Support and Training

For website support and assistance, please submit a ticket through the UBC Self Service Portal including a URL and clear description of your issue.

Looking for help?
Submit a Ticket in the UBC Self Service Portal

Helpful Links

  • UBC Okanagan Website Managers List
  • Demo page for UBCO CMS Faculty/Department Theme
  • UBC CTLT Vancouver CMS
  • UBC Blogs

Tutorial-Menu

Support Menu

UBC OK CMS Guide – WordPress
Faculty & Department Theme Guide
Introduction to WordPress
What is WordPress?
WordPress.com vs WordPress.org
WordPress Dashboard
Posts vs. Pages in WordPress
WordPress Categories & Tags
Media Library
Widgets
Get Started
Login to your Site
Site Title and Tagline
User Profile
Customize my site
Theme Options
UBC CLF Options
Navigation Settings
Layout
Disabling Comments on Pages/Posts
Site Structure
Setting up a Static Front Page
Primary Navigation
Adding Content
Creating a WordPress Post
Creating a WordPress Page
Adding a Category
Adding a Tag
Adding Images and Media
Forms using Gravity Forms
Shortcodes
Slider
Subpages Navigation
Tabs
Adding Functionality
Website Accessibility Tips
CMS at UBC's Okanagan Campus
Okanagan Campus
3333 University Way
Kelowna, BC Canada V1V1V7
Back to top
The University of British Columbia
  • Emergency Procedures |
  • Terms of Use |
  • Copyright |
  • Accessibility