• I use the pluging Menu Cart, it is great, but I would like to change the font of the number of item (automatically the same than the navigation menu, but I want it different than my menu) and align the cart.

    The cart is not vertical aligned white the number of item. It is lower, the top of the cart is in the middle of the text.
    I want wheels aligned with the bottom of the text.

    Could you help me ?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi Thomas,
    Can you post a link to your site so I can check it out? Normally the cart is actually aligned to the baseline, so this is probably your theme styles doing this.

    Ewout

    Thread Starter thomas.thomas

    (@thomasthomas)

    I’m working offline for now…

    Should I copy some CSS to show you ?

    What about the font ?

    Plugin Contributor Ewout

    (@pomegranate)

    Hi Thomas,
    The menu cart typically outputs something like this:

    <a class="wpmenucart-contents" href="http://extrapuur.nl/wp4/?page_id=6" title="View your shopping cart">
        <i class="wpmenucart-icon-shopping-cart-0"></i>
        <span class="cartcontents">1 item</span
        <span class="amount">$95.00</span>
    </a>

    so you can change the font of the items text with the .wpmenucart-contents. cartcontents class and the amount text with .wpmenucart-contents .amount.

    Hope that helps!

    Ewout

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cart alignment with items and font’ is closed to new replies.