WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. JoaoMota
    Member
    Posted 8 months 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

    http://wordpress.org/plugins/wp-menu-cart/

  2. Ewout
    Member
    Plugin Author

    Posted 8 months 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
    Member
    Plugin Author

    Posted 7 months ago #

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

  4. JoaoMota
    Member
    Posted 7 months ago #

    Hello,

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.