WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Menu Cart
[resolved] Changes Website Font to Italics (4 posts)

  1. samandella
    Member
    Posted 1 year ago #

    Hi there

    This plug-in looks great but the font of the menu item has changed to italics which changes all the text after it to italics (the menu items before the cart menu item is fine). Eeek! What can be done about this, please?

    Many thanks

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

  2. Ewout
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Samandella,
    It looks like this issue is the same that you have with the multiple icons. It should be an easy fix, but without seeing the website source, it's impossible for us to troubleshoot this issue.

    If you post a link to your site we can check it out for you. If you don't want to publish the url on this forum, send it to support@wpovernight.com.

  3. samandella
    Member
    Posted 1 year ago #

    Thanks for responding so quickly, Ewout and glad to hear it's probably an easy fix.

    I've emailed you :D

  4. Ewout
    Member
    Plugin Author

    Posted 1 year ago #

    For anyone having similar issues: it appears that YOOtheme Infinite (possibly also other YOOthemes) is copying the <i> tag that we use for the icon. We solved this by using <span> instead.

    In line 120 of woocommerce-menu-cart.php, change

    $menu_item .= '<i class="wcmenucart-icon-shopping-cart-'.$this->options['cart_icon'].'"></i>';

    to

    $menu_item .= '<span class="wcmenucart-icon-shopping-cart-'.$this->options['cart_icon'].'"></span>';

    this will solve the issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.