[Support request] Mini Cart

Home Forums Support [Support request] Mini Cart

Home Forums Support Mini Cart

  • This topic has 1 reply, 2 voices, and was last updated 5 years ago by Tom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #853268
    Paul

    Hi,

    Is it possible to move the mini cart from primary menu to either secondary or the top bar?
    Looked for a setting in the new Alpha version of GP but couldn’t see it, apologies if I’ve missed it.

    If it’s not possible could this be something you could add in the future?

    thanks.

    #853674
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You can use this filter:

    add_filter( 'generate_woocommerce_menu_item_location', function() {
    	return 'secondary';
    } );

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    You’ll need to add this code as well for now until 1.8.0-beta.1:

    .secondary-nav-aligned-right .secondary-navigation ul.woocommerce-mini-cart, 
    .secondary-nav-aligned-center .secondary-navigation ul.woocommerce-mini-cart {
        font-size: inherit;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.