Home Forums WoodMart support forum Changing the filter icon on the shop page

Changing the filter icon on the shop page

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #420504

    RichardTRC
    Participant

    Looked at some previous threads on this, eg this one; https://xtemos.com/forums/topic/how-to-change-the-icon-for-side-bar-filter-on-mobile/

    The suggested resolution is this:

    .wd-shop-tools .wd-show-sidebar-btn > a:before {
      content: "\f118";
    	font-size: 16px;
    }

    But when i try using the icon code I want it doesnt work. Which icon library is this referencing? I tried using icon codes from Font Awesome and Material Design but neither are recognised.

    This is the icon I would like to use because having two hamburger icons on the page looks pretty awful.

    https://fontawesome.com/icons/sliders?s=solid&f=classic

    #420535

    Hello,

    This icon relates to the font-family: “Font Awesome 6 Pro”; and this font is not supported. You can insert font-family: “Font Awesome 6 Fre”;

    If you have any questions please feel free to contact us.

    Best Regards

    #420628

    RichardTRC
    Participant

    Hi, sorry thats not the icon I wanted to use, I just copied that snippet from the other thread. That exact code actually works fine, and displays the filter icon OK. The one I want to use is a free one; f1de. That icon (Regular) is free.

    https://fontawesome.com/search?q=slider&o=r&m=free

    #420633

    RichardTRC
    Participant

    It’s strange because the example above, f118, doesnt show as the filter icon on fontawesome.. It’s a smiling face there… but displays as a filter icon using the above snippet? Whats causing this discrepency? It’s like it isnt contacting the correct library.

    #420723

    RichardTRC
    Participant

    UPDATE: Added the fontawesome free library to the CSS and it worked OK.

    Although im still having trouble changing the shop page mobile sticky sidebar icon. Could you advise please?

    #420814

    Hello,

    Do you have a free FontAwesome to add? Do you want to replace it with an image?

    Best Regards

    #422153

    RichardTRC
    Participant

    Hi Elise, I sorted it. Thanks.

    #422178

    You are welcome! We are here to help.

    Wish you a wonderful day!

    #422297

    RichardTRC
    Participant

    You too, thanks Elise.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Changing the filter icon on the shop page’ is closed to new replies.