WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Menu Cart
[resolved] Display options not working (7 posts)

  1. magnoct
    Member
    Posted 4 months ago #

    On the menu bar of udesign theme the plugin is showing both cart items and price regardless of what i set it to show on the back end and it also drops the price down a line which essentially makes it look out of whack

    http://wordpress.org/plugins/woocommerce-menu-bar-cart/

  2. Ewout
    Member
    Plugin Author

    Posted 4 months ago #

    Hi Magnoct,
    First of all, make sure you have closed and re-opened the browser window/tab after you have changed these settings. WooCommerce AJAX is pretty persistent, so it requires a hard reset.

    The position of the price is probably a result of your theme configuration. Some themes apply default settings to <span> elements in the menu, because they could also be used for other things.

    On a side note, may I suggest that you install WP Menu Cart instead? It's a bit more advanced/more up to date.

  3. magnoct
    Member
    Posted 4 months ago #

    Cheers.

    I switched cart, similar probs but the hard close of the browser sorted the 1st one out now it is just the theme clash. Will talk to the theme dudes unless it is something you can sort out?

  4. Ewout
    Member
    Plugin Author

    Posted 4 months ago #

    It's probably an easy fix, if you post the url to your site I'll see what I can do!

  5. magnoct
    Member
    Posted 4 months ago #

    Thanks. It is a site in dev so i am not keen to throw up the url, any other way i can contact you?

  6. Ewout
    Member
    Plugin Author

    Posted 4 months ago #

    no problem, send it to support@wpovernight.com

  7. Ewout
    Member
    Plugin Author

    Posted 4 months ago #

    It's what I suspected, your theme adds a padding to the span element surrounding the cart amount. It also used display:block.

    The following CSS fixes this (including some color fixes):
    .wpmenucart-contents > span {
    display: inline-block !important;
    padding-left: 0 !important;
    }

    .wpmenucart-contents > i {
    padding: 10px 5px 10px 20px
    }

    .wpmenucart-contents:hover > i {
    color: black;
    }

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.