Title: Remove Link&#8230;
Last modified: August 31, 2016

---

# Remove Link…

 *  Resolved [Robswaimea](https://wordpress.org/support/users/robswaimea/)
 * (@robswaimea)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/remove-link-12/)
 * Either I am clueless.. and can’t read (look at a bunch of support and searched)
 * I use Ubermenu from Seven Sparks… and I started experimenting with your plugin.
   
   It’s really cool and I appreciate your work..
 * So.. I have Top Level Items.. and then Submenu items… are nothing more than labels..
   
   But when creating these items “we” enter the “#” to create the Label.. which 
   appears to be same for regular WP Menu creation..
 * If I delete the “#” from my Menu’s.. the link reference is thusly removed, but
   the Label still appears to be a link.. and nothing happens when it is clicked(
   which is good).
 * Am I missing the obvious here.. to be able to just have the Menu Item as a “Label”
   and not look like a link.
 * Basic structure of my Menus look like this…
 * Top Label
    —– SubMenu Lable A ———Links1 ———Links2 ——SubMenu Label B ———Links3———
   Links4 etc…
 * Thanks.
 * [https://wordpress.org/plugins/custom-menu-wizard/](https://wordpress.org/plugins/custom-menu-wizard/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Robswaimea](https://wordpress.org/support/users/robswaimea/)
 * (@robswaimea)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/remove-link-12/#post-7070662)
 * I tried with CSS… but this code killed all links from being activated on my site….
 *     ```
       #menu-item-1278 > a:nth-child(1),#menu-item-11369 > a:nth-child(1),#menu-item-11370 > a:nth-child(1),#menu-item-11371 > a:nth-child(1),#menu-item-11372 > a:nth-child(1), a {
       	pointer-events: none;
       	cursor: default;
       	text-decoration: none;
       	font-size: 12pt;
       	font-weight: bold;
       	color: #000000;
       }
       ```
   
 *  Plugin Author [wizzud](https://wordpress.org/support/users/wizzud/)
 * (@wizzud)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/remove-link-12/#post-7070713)
 * If you give your label items a class – the _CSS Classes_ box for the item, once
   you’ve added it to the menu – then you can target those links using the class…
 *     ```
       .my-label-class {
         /* css for the LI list item */
       }
       .my-label-class > a {
         /* css for the contained A anchor */
       }
       ```
   
 * Alternatively, you could remove the URL from your label items, and try the CSS3_:
   not()_ selector…
 *     ```
       a:not([href]) {
         /* css for an A anchor that has no href attribute */
       }
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove Link…’ is closed to new replies.

 * ![](https://ps.w.org/custom-menu-wizard/assets/icon-256x256.png?rev=1381901)
 * [Custom Menu Wizard Widget](https://wordpress.org/plugins/custom-menu-wizard/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-menu-wizard/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-menu-wizard/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-menu-wizard/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-menu-wizard/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-menu-wizard/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [wizzud](https://wordpress.org/support/users/wizzud/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/remove-link-12/#post-7070713)
 * Status: resolved