dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: Can't remove extra menu on mobile

  1. #1
    Join Date
    May 2006
    Posts
    91

    Can't remove extra menu on mobile

    My site is www.kilgore-lewis.org. On my mobile device (android phone) I have two menus at the top. I want to get rid of the category menu. I'm using a child theme in WordPress and have tried all of the CSS I know to hide it but nothing is working. Any help would be appreciated.

  2. #2
    Join Date
    Oct 2013
    Location
    Sheboygan, Wisconsin
    Posts
    1,489
    Open your site in a browser and hit F12, console shows all kinds of errors.
    Select the network tab and do the performance analysis. 41 seconds is about 38 seconds to long.
    Some reading you need to do.
    https://blog.kissmetrics.com/loading-time/

    HTML errors
    https://validator.w3.org/nu/?doc=htt...e-lewis.org%2F

    CSS Errors (46) Warnings (80)
    https://jigsaw.w3.org/css-validator/...rning=&lang=en

  3. #3
    Join Date
    Jan 2017
    Location
    Coimbatore, India
    Posts
    106
    Hey Limozine,
    You need to write a css media query @min-width, specify the width for which you need to hide the menu, and then use display:none.

    Hope this is understandable

  4. #4
    Join Date
    Sep 2017
    Posts
    31
    @media (max-width: 400px) {
    #secondarymenu {display: none;}
    }

    Cheers

  5. #5
    Join Date
    May 2006
    Posts
    91
    Thanks, guys, but neither suggestion worked for me. What ended up working was this:

    #mobile-main-menu {display:none}

    Thanks again for the suggestions and help.

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles