WP Menu Cart
[resolved] woocommerce menu cart align (4 posts)

  1. JoaoMota
    Posted 1 year ago #

    Hello, i am using ultimatum theme, uber menu and would like to know how can i align and change the cart icon color and location. It is possible to use your pluning as a widget? Thanks


  2. Ewout
    Plugin Author

    Posted 1 year ago #

    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.

  3. Ewout
    Plugin Author

    Posted 1 year ago #

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

  4. JoaoMota
    Posted 1 year ago #


    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Menu Cart
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.