Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #606415

    Hi,

    Is it possible to change the “in stock” text on the product page to a picture?

    thnx!

    #606420

    Hi androidkastje!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    p.stock.in-stock {
        color: transparent;
        background: url(https://kriesi.at/wp-content/themes/kriesi/images/logo.png)!important;
        background-size: contain!important;
        background-repeat: no-repeat!important;
        background-position: 0 50%!important;
    }

    Best regards,
    Yigit

    #606596

    Hi,

    Thanks it works!
    Can I add next to the picture some text?

    Regards,
    Androidkastje

    #606633

    Hey!

    Please add following code to Quick CSS as well

    p.stock.in-stock:after { content: "This is my text!"; }

    Regards,
    Yigit

    #606673

    Hi Yigit,

    Last css code doesnt work for me…

    #606677

    Hey!

    Can you please post the link to your page?

    Best regards,
    Yigit

    #606692

    Ofcourse..

    #606704

    Hi!

    Please change the code to following one

    p.stock.in-stock:after {
        content: 'this is my text';
        color: black;
    }

    Best regards,
    Yigit

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