• I tried this code but it also add text to both price if I use variable price. Example: “Now: $10-now:$25”.
    I want it like this “Now: $10-$25”

    Also how to make the price font bigger also.

    I want add this to Custom CSS plugin.

    .amount:before {
    content: “Now: “;
    color: #000;
    font-size: 14px;

    }

    https://www.ads-software.com/plugins/woocommerce/

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

    (@mikejolley)

    Look at the source to see the tags around the content. The price contains an ins and del tag you can style.

    Thread Starter evvv

    (@evvv)

    Anyone else? I can’t figure it out how to modify this code to work with variable price.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    .amount ins {}
    .amount del {}

    Thats how you target those elements. If you want ‘the code’, get a developer via jobs.wordpress.net to custom code this for you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding text before Price’ is closed to new replies.