Tagged: ,

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #220897

    Hi,

    I previously used this code to hide the main menu on single portfolio entries. It’s working on mobile, but no longer works on desktop.

    .single-portfolio #menu-home li{
    display: none;
    }
    .single-portfolio #menu-home li#menu-item-983{
    display: block;
    }

    .single-portfolio #mobile-advanced li { display: none; }
    .single-portfolio #mobile-advanced li#menu-item-983 { display: block; border-top: solid 1px #ddd; }

    #220976

    Hi altr!

    Please add following code to Quick CSS

    .single-portfolio .main_menu { display: none; }

    If that does not work, please post the link to your website ( password needed if this is the website on your profile )

    Cheers!
    Yigit

    #220994

    Great. That hid the regular menu, but how to do get the home button / alt menu to show up?

    I tried changing this code:
    .single-portfolio #menu-home li#menu-item-983{ display: block; }

    To this:
    .single-portfolio .menu_home li.menu_item_983 { display: block; }

    But it didn’t work. Also, my site’s password is: so

    C

    #220996

    Actually, here’s all my quickcode just in case:

    #top.home .hide-home {display: none;}
    #top.blog .hide-blog {display: none;}

    .single-portfolio .main_menu { display: none; }
    .single-portfolio .menu_home li.menu_item_983 { display: block; }

    .single-portfolio #mobile-advanced li { display: none; }
    .single-portfolio #mobile-advanced li#menu-item-983 { display: block; border-top: solid 1px #ddd; }

    #221090

    Hey!

    Please post the login details here as a private reply. We would like to inspect the website.

    Cheers!
    Ismael

    #221097
    This reply has been marked as private.
    #221390

    Did you guys get that private message ok? Just checking.

    #221488

    Hi!

    Please add this at the very bottom of custom.css or Quick CSS:

    .single .main_menu .menu li, .single-portfolio .main_menu .menu li{
    display: none;
    }
    
    .single .main_menu .menu li#menu-item-983, .single-portfolio .main_menu .menu li#menu-item-983 {
    display: block;
    }
    
    #menu-item-search {
    display: block;
    }

    This will remove all menu items except the Home menu on blog posts and portfolio items.

    Cheers!
    Ismael

    #221505

    Thanks. But this removes the main menu, but doesn’t leave the Home link. You can see the update posted.

    #221661

    Hey!

    Please remove following codes

    .single-portfolio .main_menu {
    display: none;
    }
    .single .main_menu .menu li, .single-portfolio .main_menu .menu li {
    display: none;
    }

    and add following instead

    .single-portfolio #menu-item-340, .single-portfolio #menu-item-565, .single-portfolio #menu-item-342, .single-portfolio #menu-item-341, .single-portfolio #menu-item-343, .single-portfolio #menu-item-556, .single-portfolio #menu-item-search { display: none; }

    If that does not work, please create a temporary admin login and post it here privately

    Best regards,
    Yigit

    #221723
    This reply has been marked as private.
    #221727

    Hey!

    Please review your website now. I have just made small fixes on the existing custom CSS codes. Only “Home” menu item is visible on Blog page, single blog pages and single portfolio pages on both desktop and mobile.

    Regards,
    Yigit

    #221737

    Fantastic! Just one last problem. The category links in the footer that also bring you to the blog still have the old problem, can we fix that too?. YOU ROCK!

    #221744

    Hey!

    Should be fixed now. Included archive pages to custom CSS as well

    Cheers!
    Yigit

    #221748

    You are the best! THANK YOU SO MUCH. Is there a place I can go to give this theme and the support services the highest recommendation?

    #221753

    Hey!

    You are welcome, glad we could help :) You can post testimonials on comment section of Enfold on ThemeForest. I am marking this thread as resolved. Let us know if you have any other questions or issues!

    Cheers!
    Yigit

Viewing 16 posts - 1 through 16 (of 16 total)

The topic ‘hide menu no longer working with theme update’ is closed to new replies.