• Resolved Robswaimea

    (@robswaimea)


    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://www.ads-software.com/plugins/custom-menu-wizard/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Robswaimea

    (@robswaimea)

    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

    (@wizzud)

    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.