[Support request] Removing main menu and certain widgets from checkout pages

Home Forums Support [Support request] Removing main menu and certain widgets from checkout pages

Home Forums Support Removing main menu and certain widgets from checkout pages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #715208
    Toni

    Hi

    Can anyone advise me on the correct function how to remove my main menu from the WooCommerce Checkout pages?

    I would also like to remove and add certain widget areas to these WooCommerce Checkout pages.

    GeneratePress 2.1.4
    #715601
    David
    Staff
    Customer Support

    Hi there,

    this CSS to remove the primary nav from checkout:

    .woocommerce-checkout .main-navigation {
    	display: none;
    }

    And you would need a conditional widget plugin like this to set different widgets for the woo sidebars:

    https://wordpress.org/plugins/content-aware-sidebars/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.