Nav Drop down (Horizontal to verticle)

Homepage Community Forums Legacy Theme Support Nav Drop down (Horizontal to verticle)

Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4411
    gregorypessa
    Customer

      Hello again Wes,
      I had a developer design a site under the basis of the legacy theme. I want to change the drop down from a horizontal hover to a vertical hover. Like the original legacy theme. Could you point me to what I should be looking for in CSS?

      His nav code.

      #nav #menu-primary-menu li.current-menu-item a { background-color: #07455c; }
      #nav #menu-primary-menu li.current_page_parent a { background-color: #07455c; }
      #nav #menu-primary-menu li a { text-decoration: none; color: #fff; padding: 7px 25px; cursor: pointer; }
      #nav #menu-primary-menu li:Hover { z-index: 1; }
      #nav #menu-primary-menu li a:Hover { background-color: #07455c; }
      #nav #menu-primary-menu li.sfHover a { background-color: #07455c; }
      #nav #menu-primary-menu li ul { position: absolute; top: 27px; left: 0; background-color: #016e85; width: 300px; padding: 0; }
      #nav #menu-primary-menu li li li { text-align: center; display: inline-block; float: left; margin: 1px 0 0 0; }
      #nav #menu-primary-menu li ul li a { padding: 7px; display: inline-block; background-color: #016e85; }
      #nav #menu-primary-menu li.sfHover ul li a { padding: 7px; display: inline-block; background-color: #016e85; }
      #nav #menu-primary-menu li ul li a:Hover { background-color: #07455c; cursor: pointer; }

      Greg

      #4422
      Wes
      Moderator

        It should be a vertical dropdown already…..unless you’re talking about the Mobile Responsive code? If so, then take a look around line 3275 in your css for something like this –

        .menu li {
        	float: none;
        	display: inline-block;
        }

        You could change it to this –

        .menu li {
        	clear: both;
        	float: left;
        	display: inline-block;
        }

        ….and it will look like this – http://i.imgur.com/x97U0y3.png

        If you’re talking about something totally different, just let me know.

        #4531
        gregorypessa
        Customer

          It is completely different… Due to the developers. The currently have it set to horizontal, which you can see at our site http://metcalfinstitute.org/.

          #4558
          Wes
          Moderator

            It would probably be easier to just revert the entire menu section/code back to the original code and work your way back up. There are so many things changed and added to the code which is what is causing the issue.

            #4577
            gregorypessa
            Customer

              Wes,
              Thanks for the help per usual. Is there a specific code I should be looking for? It doesn’t appear to be in the css.

              #4581
              Wes
              Moderator

                Yes I’m actually referring to your css. Anything dealing with the Nav/Primary Nav/Menu etc…. I would suggest you revert the css that was changed back to the original and then work your way back up.

              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.