Home Forums WoodMart support forum Progress bar customization help

Progress bar customization help

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #279737

    ipcom
    Participant

    Is there a way to customize the progress bar with a gradient color starting from green and ending in red? I have attached a screenshot.

    Attachments:
    You must be logged in to view attached files.
    #279842

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .widget_price_filter .ui-slider .ui-slider-range {
        background-color:red;
    }
    body .widget_price_filter .ui-slider .ui-slider-handle:after{
        background-color:blue;
    }

    Please generate the gradient as per your needs and insert in the CSS. https://cssgradient.io/

    Best Regards

    #279845

    ipcom
    Participant

    I have tried, generated the gradient and put it, but it’s still black. The code doesn’t work.

    #279954

    Hello,

    Please send me the gradient, perhaps this element cannot be styled with the gradient we have never tried, usually, we just changed the color.

    Best Regards

    #280006

    ipcom
    Participant

    this is the code:

    body .widget_price_filter .ui-slider .ui-slider-range {
    background-color:rgb(70,251,63);
    }

    body .widget_price_filter .ui-slider .ui-slider-handle:after{
    background-color:radial-gradient(circle, rgba(70,251,63,1) 0%, rgba(252,70,70,1) 100%);
    }

    #280219

    Hello,

    I have checked the gradient it does not change anything perhaps it is not complete or correct, try to apply it to any block.

    Best Regards

    #280220

    ipcom
    Participant

    It’s not from the gradient. The problem is the code since i have tried the first code you gave me with simple colors and it’s still only black.

    #280558

    Hello,

    Please clear the cache the code works https://gyazo.com/dabfd63f11144c9e35939cc9e156d6cb

    Best Regards

    #280564

    ipcom
    Participant

    Wait a minute. I don’t want to customize the price filter. The screenshot which i first provided is about the quantity stock progress bar.

    #280988

    Hello,

    Sorry for the confusion. Please provide the page URL with the progress bar I will check.

    Best Regards

    #281159

    ipcom
    Participant

    I have provided it in the private section.

    #281357

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .woodmart-stock-progress-bar .progress-bar{
    	background-color:radial-gradient(circle, rgba(70,251,63,1) 0%, rgba(252,70,70,1) 100%);
    }

    Now there are zero sales on this product, as soon as there are any sales the progress bar would look like this: https://prnt.sc/11921vf

    Best Regards

    #281453

    ipcom
    Participant

    It is still black. The code doesn’t work.

    #281556

    Hello,

    Please check with any color without the gradient, for example, red, it works. Please check your gradient.

    We have not tested gradient on this element, perhaps it does not support the gradients.

    Best Regards

    #281565

    ipcom
    Participant

    Nope. It doesn’t work with simple colors as well.

    #281635

    Hello,

    You will see the color as soon as the product is sold, now there are zero sales.

    Make the testing product with testing orders and test.

    Best Regardss

    #281637

    ipcom
    Participant

    I have tested it with sales and the progress bar is still in black. So, no, it doesn’t work.

    #281670

    Hello,

    Please provide me the product URL with the sales.

    Best Regards

    #281774

    ipcom
    Participant

    The link is in the private section.

    #282081

    Hello,

    I am afraid this element does not support the gradient, it works perfectly with color: https://gyazo.com/bed751443723a5258c4c208594ab9df6

    Best Regards

Viewing 20 posts - 1 through 20 (of 20 total)