WordPress.org

Forums

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

  1. dgibson_88
    Member
    Posted 1 year 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 1 year 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 1 year 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 1 year ago #

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

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags