WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Menu Cart
[resolved] Menu cart not on one line (4 posts)

  1. dgibson_88
    Member
    Posted 2 months ago #

    I'm using woocommerce along with the U-design theme. I installed the menucart to disply in my navbar at the top of my site:
    http://www.telephonelists.biz/wptlb
    and the cart and items don't show up on the same line. How do I fix this?

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

  2. Jeremiah
    Member
    Plugin Author

    Posted 2 months ago #

    Looks like you just need to force it to show inline. Something like:

    span.cartcontents{
    display: inline !important;
    }

    You can style that to adjust the margin, etc. If you need extra help we have a css customization service.

  3. dgibson_88
    Member
    Posted 2 months ago #

    That code you included did the trick. On the margins though I tried to add a margin and padding but the cart icon and text are still too close to the top. I ended up adding this code:

    span.cartcontents {
    position:relative;
    top:9px;
    display: inline !important;
    }

    That put the text where I wanted it but didn't move the cart icon. Any suggestion?

  4. Jeremiah
    Member
    Plugin Author

    Posted 2 months ago #

    You'll need to target the element above that for your positioning styles. example:

    a.wpmenucart-contents{
    top: 9px !important;
    }

Reply

You must log in to post.

About this Plugin

About this Topic

Tags