Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

add icon on filter

4 months 2 weeks ago #1

  • Laurent's Avatar
  • Laurent
  • Posts: 60
hi,

how can I add a Font awesome icon in front of each filter link?





thanks
L.

4 months 2 weeks ago #2

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 12832
Hello,
Thank you for contacting us

Unfortunately there is no such option,
You can do this using custom code.

Regards,
Vyacheslav, Balbooa.com

4 months 2 weeks ago #3

  • Laurent's Avatar
  • Laurent
  • Posts: 60
I have added this code :
.ba-gallery .category-filter a.ba-filter:before, 
.ba-gallery .category-filter a.ba-filter-active:before {
	font-family: "Font Awesome 5 Free" !important;
    content: "\f138" !important;
	font-weight: 400;
	padding-right: 5px;
}

but icon is not displayed :


4 months 2 weeks ago #4

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 12832
Hello,
Thank you for contacting us

Send us a link to page with problem.

Regards,
Vyacheslav, Balbooa.com

4 months 2 weeks ago #5

  • Laurent's Avatar
  • Laurent
  • Posts: 60

4 months 2 weeks ago #6

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 12832
You need use this CSS code:
.ba-gallery .category-filter a.ba-filter:before, 
.ba-gallery .category-filter a.ba-filter-active:before {
	font-weight: 600;
}

Best Regards,
Vyacheslav, Balbooa Support Team

4 months 2 weeks ago #7

  • Laurent's Avatar
  • Laurent
  • Posts: 60
ok works fine thanks ;-)

4 months 2 weeks ago #8

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 12832
You are welcome ;)
Powered by Kunena Forum