Is it possible to change the background color from the amount left text?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #88224
    Alex
    Guest

    Hi,
    ist there any CSS class to use to have the whole text “%amount_left_for_free_shipping% left for free shipping” be displayed with a background color, e.g. yellow?
    Thanks,
    Alex

    #88225
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Alex,

    Sorry for the late reply. You can wrap it in your own HTML tags directly in plugin settings (in “WooCommerce > Settings > Amount Left for Free Shipping > Content”). For example <div> tag with your-class class for CSS:

    <div class="your-class">%amount_left_for_free_shipping% left for free shipping</div>

    or you can set style it directly:

    <div style="background-color:yellow;">%amount_left_for_free_shipping% left for free shipping</div>

    Hope that helps.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.