• Resolved LAXMAN JADHAV

    (@laxman55)


    when in open single product view in mobile device …then wp bottom bar not hided ..!

    please help me how to hide bar on single product view page

    thanku

    • This topic was modified 2 years, 7 months ago by LAXMAN JADHAV.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author J4

    (@j4cob)

    Hi @laxman55

    thanks for your feedback. I’ll improve hide “WP Bottom Menu” option for the next versions.

    chrisalton11

    (@chrisalton11)

    Hi,

    I’m wondering the same thing. Is there a way to hide the Bottom Menu from certain pages with custom CSS?

    We’d like to hide it on the Checkout page if possible.

    Thanks,
    Chris

    Plugin Author J4

    (@j4cob)

    Hi @chrisalton11 ,

    You can use condition manager: Appearance->Customize->WP Bottom Menu->Conditions

    If you need another custom option, you can override wp-bottom-menu css.

    WooCommerce Conditional Tags: https://woocommerce.com/document/conditional-tags/

    Example:

    add_action( 'wp_footer', function(){
    
        // Is the page a product page? let's hide
        if ( is_product() ){
            ?>
                <style>
                    .wp-bottom-menu{
                        display:none!important
                    }
                </style>
            <?
        }
    }, 11 );
    chrisalton11

    (@chrisalton11)

    Thank you. Unfortunately there’s no way to turn off WP Bottom Menu on the checkout page inside the Conditions Manager.

    The page you linked says this code can’t be added as a PHP snippet, but I’m still a bit confused about where it should be added in order to override the CSS. Where would this code be pasted to activate it?

    Chris

    Plugin Author J4

    (@j4cob)

    You can add that code snippet to your theme > functions.php or any code snippet plugin.

    Another solution, edit this condition as you want: https://plugins.trac.www.ads-software.com/browser/wp-bottom-menu/tags/2.1/wp-bottom-menu.php#L215

    chrisalton11

    (@chrisalton11)

    Hi Jacob,

    I’m attempting to add this php with a code snippet plugin but it’s giving me a “Parse Error: Syntax Error” on the final line. Is that because of something I’m doing wrong?

    Appreciate your help with this,
    Chris

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hi sir how to hide wp bottom menu in single product page’ is closed to new replies.