Home › Forums › WoodMart support forum › Progress bar customization help
Progress bar customization help
- This topic has 19 replies, 2 voices, and was last updated 3 years ago by Elise Noromit.
-
AuthorPosts
-
April 7, 2021 at 1:43 pm #279737
ipcomParticipantIs 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.April 7, 2021 at 6:54 pm #279842
Elise NoromitMemberHello,
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
April 7, 2021 at 7:09 pm #279845
ipcomParticipantI have tried, generated the gradient and put it, but it’s still black. The code doesn’t work.
April 8, 2021 at 6:54 am #279954
Elise NoromitMemberHello,
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
April 8, 2021 at 8:38 am #280006
ipcomParticipantthis 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%);
}April 8, 2021 at 1:26 pm #280219
Elise NoromitMemberHello,
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
April 8, 2021 at 1:31 pm #280220
ipcomParticipantIt’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.
April 9, 2021 at 8:19 am #280558
Elise NoromitMemberHello,
Please clear the cache the code works https://gyazo.com/dabfd63f11144c9e35939cc9e156d6cb
Best Regards
April 9, 2021 at 8:34 am #280564
ipcomParticipantWait a minute. I don’t want to customize the price filter. The screenshot which i first provided is about the quantity stock progress bar.
April 9, 2021 at 8:42 pm #280988
Elise NoromitMemberHello,
Sorry for the confusion. Please provide the page URL with the progress bar I will check.
Best Regards
April 10, 2021 at 8:48 am #281159
ipcomParticipantI have provided it in the private section.
April 10, 2021 at 4:31 pm #281357
Elise NoromitMemberHello,
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
April 10, 2021 at 10:02 pm #281453
ipcomParticipantIt is still black. The code doesn’t work.
April 11, 2021 at 10:25 am #281556
Elise NoromitMemberHello,
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
April 11, 2021 at 10:36 am #281565
ipcomParticipantNope. It doesn’t work with simple colors as well.
April 11, 2021 at 6:10 pm #281635
Elise NoromitMemberHello,
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
April 11, 2021 at 6:15 pm #281637
ipcomParticipantI have tested it with sales and the progress bar is still in black. So, no, it doesn’t work.
April 11, 2021 at 7:25 pm #281670
Elise NoromitMemberHello,
Please provide me the product URL with the sales.
Best Regards
April 12, 2021 at 8:08 am #281774
ipcomParticipantThe link is in the private section.
April 12, 2021 at 6:06 pm #282081
Elise NoromitMemberHello,
I am afraid this element does not support the gradient, it works perfectly with color: https://gyazo.com/bed751443723a5258c4c208594ab9df6
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register