Support » Plugin: WP Menu Cart » woocommerce menu cart align

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ewout


    Hi JoaoMota,
    You can align the cart using CSS, but it depends on your theme what you need. The default settings add a float:left or float:right, but sometimes that doesn’t work when the parent element of the menu already has a float or when that element has no width. When the parent element of the theme already has a float, the bounding box around the menu items automatically wraps tightly around it. So even though you could have a float right applied to it, it won’t show because it’s already at the far right end of that bounding box.
    Currently the Menu Cart can only be added as the last item, so it’s not possible to insert it in the middle of one menu. Aligning in the center can be done using either text-align=center or other css centering methods (auto left & right margins).

    Changing the color of the cart icon is simple with CSS:

    .wpmenucart-contents i {
    	color: red;

    where ‘red’ is any HTML color name or hex value (i.e. #101010).

    Finally, if you want to use our plugin as a widget, just create an empty menu, go to widgets and add a ‘custom menu’ widget, and make sure to select that widget in the menu cart settings. If you get the pro version, you can add the menu anywhere in your theme with a shortcode.

    Plugin Author Ewout


    Hi JoaoMota,
    Is your question answered? Let us know if you need more assistance!


    Thanks for the assistance.

    In my opinion your plugin do not work well with the ubermenu plugin.

    I try to insert some css code to center and change the color and did

    not work.

    Soon, i will try your premiun version and insert into theme in a

    widgetized area.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘woocommerce menu cart align’ is closed to new replies.