• Resolved Can

    (@candanbl0g)


    Hi, firstly, thank you for such a great theme – it is the best I have ever seen during my 5-6 years of WordPress experience ??

    I have a menu item and sub-menu items connected to it, like

    -BlogHomePage
    –Category1
    –Category2
    –Category3

    and I have a separate blog page. When I hover the BlogHomePage item on my Homepage, the menu expands and shows the categories. This is actually great, but I want to disable it in order to bring visitors directly to the blog page. I don’t want to distract them with the categories.

    Is it possible to disable this hover effect on homepage and keep it on the blog page? If not, how about disabling it completely? Thanks in advance ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Andrew Misplon

    (@misplon)

    Hi @can

    Thanks for your support, it’s most appreciated.

    To disable the hover completely you could delete the sub-menu items from your main main menu. That can be done from Appearance > Menus.

    To conditionally remove the sub-menu items on your home page only you could try the following plugin: https://www.ads-software.com/plugins/menu-items-visibility-control/

    The tag to insert in your sub-menu items using the above plugin’s field would be:

    ! is_home()

    I cover using this plugin here: https://purothemes.com/documentation/general-wordpress/mobile-only-menu-links/. It’s not the same task though, but the screenshot there might still help ??

    Thread Starter Can

    (@candanbl0g)

    Great solution! By the way, in my case, I want to disable the hover effect on my “front page” (although I was not clear enough about it in the post above) – so, the code required is

    ! is_front_page()

    instead of

    ! is_home()

    Thanks @misplon ??

    Theme Author Andrew Misplon

    (@misplon)

    Super ?? Really glad to hear you made progress on this. A slightly technical but nifty plugin for sure.

    All the best with your site. If anything else comes up, please, let me know.

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How To Make Menu Item Not Expand on Hover on Homepage?’ is closed to new replies.