Home › Forums › Basel support forum › Labels
Labels
- This topic has 17 replies, 2 voices, and was last updated 4 years, 1 month ago by Elise Noromit.
-
AuthorPosts
-
September 28, 2020 at 11:55 pm #229439
sandrofinoribeiroParticipantHello!
Its possible to add different labels to the product photo, i already saw where to activate the “New” label, where or how can i had other labels like “On Sale” or “Awarded”?
Thanks,
SRSeptember 29, 2020 at 7:25 am #229501
Elise NoromitMemberHello,
You can create an attribute with different attribute items as per your needs and then in Products > Attributes > enter the attribute and enable “Show attribute label on products”
A result, your product image would have the label.
Best Regards
September 29, 2020 at 8:42 am #229540
sandrofinoribeiroParticipantThanks!
September 29, 2020 at 10:13 am #229575
sandrofinoribeiroParticipantElise,
Only one more question about labels, how can i change the color of default label for “NEW” and discount on sale products ex: “15%” ???
Thanks,
SRSeptember 29, 2020 at 1:01 pm #229663
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .labels-rounded .onsale{ background:red; color:yellow; }
If you do not need to change the background, remove this line:
background:red;
set the colors as per your needs.body .labels-rounded .new{ background:red; color:yellow; }
Best Regards
September 30, 2020 at 9:57 am #229856
sandrofinoribeiroParticipantThanks.
And how can we increase the size of the product labels, like the “NEW”, the “ON SALE” and the ones we configure in attributes?
Thanks,
SandroSeptember 30, 2020 at 10:19 pm #230023
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.product-label.onsale { height: 70px; width: 70px; } .product-label.new { height: 70px; width: 70px; }
Best Regards
October 1, 2020 at 11:28 am #230175
sandrofinoribeiroParticipantAnd how to change the size of the ones we configure in attributes?
October 1, 2020 at 11:36 am #230178
sandrofinoribeiroParticipantIf i change this, for example, to 80px:
.product-label.new {
height: 80px;
width: 80px;
}doesn´t appear a circle as you can see in the attached image.
Thanks,
SROctober 1, 2020 at 11:37 am #230179
sandrofinoribeiroParticipantwith attached image…
Attachments:
You must be logged in to view attached files.October 1, 2020 at 12:56 pm #230197
sandrofinoribeiroParticipantHow can i increase the size of the font inside “ON SALE” label? The percentage of the value?
Thanks,
SROctober 1, 2020 at 1:46 pm #230224
Elise NoromitMemberHello,
Please add this line to each code:
border-radius:50%;
Best Regards
October 2, 2020 at 12:37 am #230321
sandrofinoribeiroParticipantHow can i increase the size of the font inside “ON SALE” label? The percentage of the value?
Thanks,
SROctober 2, 2020 at 6:51 am #230358
Elise NoromitMemberHello,
Please replace the code with this one:
.product-label.new { height: 80px; width: 80px; border-radius:50%; } .product-label.onsale { height: 80px; width: 80px; border-radius:50%; }
Best Regards
October 12, 2020 at 9:17 am #232537
sandrofinoribeiroParticipantHello,
How can i increase the size of the FONT inside “ON SALE” label? The percentage of the price discount?
Thanks,
SROctober 12, 2020 at 6:50 pm #232721
Elise NoromitMemberHello,
Please replace this code:
.product-label.onsale { height: 80px; width: 80px; border-radius:50%; }
With this one:
.product-label.onsale { height: 80px; width: 80px; border-radius:50%; font-size: 20px; }
Change the font-size as per your needs.
Best Regards
October 13, 2020 at 7:59 am #232843
sandrofinoribeiroParticipantHello!
How can I change the size of the Labels we configure in attributes?
Thanks,
SROctober 13, 2020 at 10:37 am #232880
Elise NoromitMemberHello,
You need to change (increase/decrease) width and height:
height: 80px; width: 80px;
Best Regards
-
AuthorPosts
Tagged: labels
- You must be logged in to create new topics. Login / Register