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

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,611
    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
    33
    @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.

  6. #6
    Join Date
    Jul 2017
    Posts
    18
    It appears that you were successful in hiding the menu but in case you face this issue again just note that the menu can be removed in a couple of ways:
    >>If it is a theme from a premium developer then there will always be an option enable or disable certain parts.
    >>If after all efforts you are unable to find any option and hide option is not working using css then just add a class to the begining html tag and access the component from the html class selector, use !important if necessary

  7. #7
    Join Date
    Sep 2017
    Posts
    4
    The article you have shared here very good. This is really interesting information for me. Thanks for sharing!
    **Links removed by Site Staff so it doesn't look like you're spamming us. Please don't post them again.**
    Last edited by Train; 09-27-2017 at 01:20 AM.

  8. #8
    Join Date
    Sep 2017
    Posts
    4
    The article you have shared here very good. This is really interesting information for me. Thanks for sharing!
    **Links removed by Site Staff so it doesn't look like you're spamming us. Please don't post them again.**
    Last edited by Train; 11-04-2017 at 10:15 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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