WordPress.org

Forums

Troubles with menu going vertical (3 posts)

  1. axelvr
    Member
    Posted 2 years ago #

    Hi there,

    I'm having troubles with a menu in a new site of mine.

    When I open the site on my iPhone , the menu is not sorted horizontal but vertical.

    When I open the site on my mac it shows it perfectly horizontal , I was playing around with the window of my safari browser and I noticed that when I reduced the screen to a very small width the same thing happened with the menu going in a vertical order.

    Can any one help me with this annoying problem?

    The URL to the site is : http://test.axelvr.nl

    If it would be useful to put the css on-line , I will do that straight away.

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    possibly intended and caused by the 'float: none;' in these lines in style.css, in the @media (max-width: 650px) section:

    #branding ul.menu li,
    	#access-footer ul.menu li,
    	#access .default-menu ul li {
    		border: none;
    	    float: none;
    	    text-align: center;
        }
  3. axelvr
    Member
    Posted 2 years ago #

    I removed the entire "@media" part and now it's working as a charm!

    Thanks!!

Topic Closed

This topic has been closed to new replies.

About this Topic