Home Forums WoodMart support forum Wishlist Order in Account Menu

Wishlist Order in Account Menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #62329

    Joe
    Participant

    Hello,

    I have the option “Wishlist on my account page” on, but I would like to edit it so the Wishlist menu item appears after “My Orders”.

    Normally, this can be accomplished with the Woocommerce filter

    `add_filter ( ‘woocommerce_account_menu_items’, ‘reorder_account_menu_function’ );

    However, I can’t seem to figure out how to actually reorder your menu item. Can you help me with this?

    #62379

    Artem Temos
    Keymaster

    Hi,

    Try to add the following code snippet to the Custom CSS area in Theme Settings to do this

    .woodmart-my-account-links .orders-link {
        order: -2;
    }
    .woodmart-my-account-links .wishlist-link {
        order: -1;
    }
    
    .woocommerce-MyAccount-navigation ul, .woodmart-header-links .sub-menu{
        flex-direction: column;
        display: flex;
    }
    
    .woocommerce-MyAccount-navigation-link--dashboard {
        order: -3;
    }
    
    .woocommerce-MyAccount-navigation-link--orders {
        order: -2;
    }
    
    .wishlist-account-element, .woocommerce-MyAccount-navigation-link--wishlist {
        order: -1;
    }

    Regards

    #62440

    Joe
    Participant

    Wow. CSS is basically magic. Amazing how much it can help!

    Thank you.

    #62457

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Wishlist Order in Account Menu’ is closed to new replies.