Viewing 4 replies - 1 through 4 (of 4 total)
  • The add-to-cart button doesn’t usually have an image, it usually has words. “Add to cart” is the default text, or an appropriate translation.

    What plugin are you using to do your translations? Have a look at its settings. As a test, try deactivating this plugin – you should get some words showing in the default language.

    If you can’t find the problem, there is a custom css hack you could use:

    button.single_add_to_cart_button.button.alt {
      width:200px !important
    }
    button.single_add_to_cart_button.button.alt:lang(nl):after {
      content:"winkelmandje"
    }
    button.single_add_to_cart_button.button.alt:lang(en):after {
      content:"add to cart"
    }
    

    If you have WP 4.7, custom css is entered at:
    Dashboard > Appearance > Customise > Additional CSS

    Thread Starter Tim Hupkes

    (@tim983)

    @lorro thanks for your reaction. I tried your solution, unfortunately it doesn’t work… I deactivated the Polylang plugin and added the css.

    I wonder if it might have something to do with the font I have chosen and more specifically, the size of it. I made it all smaller but that didn’t do the trick either…

    Do you have any more suggestions I might try?

    I don’t think the font is the problem, there is no text (where there should be) to apply a font.

    The css didn’t work because you have enclosed it inside a comment:

    /* etc etc */
    

    and so is ignored. Delete the comment that’s there and have just the css.

    • This reply was modified 7 years, 11 months ago by Majeed Raza.
    Thread Starter Tim Hupkes

    (@tim983)

    @lorro It worked! Thanks ever so much!! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cart doesn’t show image of cart’ is closed to new replies.