Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. classify certain menu item

classify certain menu item

Scheduled Pinned Locked Moved General Discussion
certainmenu item
4 Posts 2 Posters 772 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • WalkerW Offline
    WalkerW Offline
    Walker
    wrote on last edited by Walker
    #1

    Hello Armin,

    I try to classify a certain menu item. So I can split the primary menu into two menus.
    For example with this code it was possible to move the last child:

    nav.primary li:last-child {
    margin-left: 65px !important;
    }

    But when I try to reach another item with the following code, nothing happens.

    nav.primary li#menu-item-27 {
    margin-left: 65px !important;
    }

    I also tried to target it with a class which I defined in the Wordpress Menus section.
    In this case it worked out. http://www.photosalonhelga.com/

    Would be nice to get some help

    Thanks a lot

    Walker

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by arminunruh
      #2

      I see on the website you sent me you used this css:

      "nav.primary li#menu-item-30", you are using the same css style now, so I'm not sure why that wouldn't work.

      If you got this online you can send it to me via chat or post ur link here.

      Maybe theres some css with invalid syntax in your custom css which invalidates all following css?

      1 Reply Last reply
      0
      • WalkerW Offline
        WalkerW Offline
        Walker
        wrote on last edited by
        #3

        Thanks for the answer,

        When I use "nav.primary li#menu-item-30" it works partly. I see the whole problem now - when I try to give one certain menu-item a margin-bottom –> then the hole Menu will get this margin-bottom. I think I have to seperate the certain menu-item from the others.
        On the website I quoted (its not from me) there is also a div with a class around the Button, like this:
        <div class="span-wrap">
        <span>About<span>
        </div>
        I think I have to seperate the menu-items to split them completly from the rest of the menu.
        Bu thats the part where I get lost...

        I send you my website on which I work via chat, sorry its kind of confidential.

        Thanks a lot, hope that is not to much effort

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          Ok, gonna take a look. I mean in the end what you want is multiple menus. Thats a feature that has been on my list for a long time and I need to work on that ^^

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          I also code custom websites or custom Lay features.
          šŸ’æ Email me here: šŸ’æ
          info@laytheme.com

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

          This often solves issues you might run into

          When you post:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          Online Users
          O
          oli
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search