.badge Class is Always White, Therefore Can't Be Seen On Search Page - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

.badge Class is Always White, Therefore Can't Be Seen On Search Page

PD

Peter Dowse

Template 3 years ago

Hi Guys,

It seems that every single template has the CSS of

.badge {
    color: #fff;
}

Which means that on the search page, the number of searches can't be seen as it's inevitibly white text on a white background. Screengrab https://snipboard.io/LQq8pz.jpg

and I have to update this CSS on every template so it displays Screengrab https://snipboard.io/lKCdOa.jpg

Is there any reason for having the .badge class as white as it doesn't make much sense?

0
5 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #74518

OK I will inform our DEV team about it so that they will take care of it.

Thanks.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #74514

Hi,

Thanks for contacting us. If you want then you can change the color too. Just give me that specific page link then I will help you to change that color.

-Regards.

0
PD
Peter Dowse
Accepted Answer
3 years ago #74516

I know how to change it - I add custom CSS to every template.

My question is more concered with why the .badge class is white and if this is an oversight by the Dev team.

I'm not sure if that class is used in other areas of websites, but if it's only used on the search page, it's hiding the number displayed on search pages as it's white text on a white background.

0
PD
Peter Dowse
Accepted Answer
3 years ago #74671

Thank you :-)

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #74681

You are most welcome.

0