Canvas
WooCommerce has stopped selling the Canvas theme. We recommend you choose a different theme.
Under Appearance > Editor, select ‘functions.php’ on the right and insert the following:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
// remove nav toggle function woo_nav_toggle() { return ""; } function mmm_config() { // remove primary menu and surrounding markup remove_action( 'woo_header_after','woo_nav', 10 ); // reinstate primary menu add_action( 'woo_header_after','mmm_nav' ); } add_action( 'get_header', 'mmm_config', 999 ); // reinstate primary menu function mmm_nav() { wp_nav_menu( array( 'theme_location' => 'primary-menu' ) ); } |
Go to Appearance > Customize > Additional CSS and add the following:
1 2 3 4 5 6 7 8 9 |
#top { display: block !important; } #top h3.top-menu { display: none; } #inner-wrapper .mega-menu-wrap { margin-bottom: 3em; } |
Sticky menu not working?
Go to Appearance > Customize > Additional CSS and add the following:
1 2 3 4 5 6 7 |
.csstransforms3d.csstransitions .mega-menu-primary-menu #navigation { transform: none; -webkit-transform: none; -moz-transform: none; -ms-transform: none; -o-transform: none; } |