Jump to content

How to make transparent Label -New & Sale,Out of stock


Anaa

Recommended Posts

Dear community members,

Hope everything goes well around you!

I want to change labels as  TRANSPARENT for  NEW & SALE , out of stock  etc on prestashop version 8 .

Is that possible ? if yes, how to change it ? Please help me

Best wishes

Anaa

 

1q.png

Link to comment
Share on other sites

2 minutes ago, Anaa said:

Dear community members,

Hope everything goes well around you!

I want to change labels as  TRANSPARENT for  NEW & SALE , out of stock  etc on prestashop version 8 .

Is that possible ? if yes, how to change it ? Please help me

Best wishes

Anaa

 

1q.png

If is that possible to make changes as I wish, after the changes should be looks like this image

1q2.png

Link to comment
Share on other sites

23 hours ago, ComGrafPL said:

On the image above, they're not transparent. They have a white background. If your images will have white background it will looks better. Be more specific. Share url.

Hi thanks for reply !

Yes, on the image labels are not transparent.All labels Background color is white . I want to make a transparent LABEL . I am editing  theme.css to changing label text colors but I do not know how to make label text TRANSPARENT. Do you know how to change it?

https://diamondanna.com/en/

 

123b.png

Link to comment
Share on other sites

Hi,

in your theme folder in custom.css file add this

.product-flags li.product-flag {
	color: #edbbde;
	background: transparent;
}

you can define a specific target with class defined for each element.

for new flag the class is "new" for on sale is "on-sale".

.product-flags li.product-flag.new {

.product-flags li.product-flag.on-sale {

 

Link to comment
Share on other sites

5 hours ago, Mediacom87 said:

Hi,

in your theme folder in custom.css file add this

.product-flags li.product-flag {
	color: #edbbde;
	background: transparent;
}

you can define a specific target with class defined for each element.

for new flag the class is "new" for on sale is "on-sale".

.product-flags li.product-flag.new {

.product-flags li.product-flag.on-sale {

Good morning 

it's works thank you .

but I can not changing

product-flags li.product-flag.discount, .product-flags li.product-flag.discount-amount, .product-flags li.product-flag.discount-percentage {

background-color: #fff;

I try to add to custom.css as like

product-flags li.product-flag.discount-percentage {
    background-color: #fff;
    background: transparent;

But does not get any effect

Regards

Anaa

 

A3.png

Link to comment
Share on other sites

13 hours ago, ComGrafPL said:

But same time you will need to change Online only / On Sale one. Send me those color codes , and if you need any background colors on Online only / On Sale, send me as well. Will get you a code to  change it.

Good morning

Color code os: #2158f

Can you change wishlist  background transparent too please ?

Regards

Anaa

Link to comment
Share on other sites

  • 1 year later...
On 5/16/2023 at 6:17 PM, Mediacom87 said:
.wishlist-button-add {
	background-color: transparent;
	box-shadow: none;
}

 

Thank you so much for you help

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...