Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
in Themes by
I am using donut them. Its a perfect theme but i like to change the favorite button icon (heart shape) but I could not find the image file to change. How can I do it any idea?

Q2A version: 1.7.5

1 Answer

+4 votes
Best answer

Follow the following steps:

1. Edit file qa-theme/Donut-theme/qa-donut-layer.php

2. Locate this line: https://github.com/amiyasahu/Donut/blob/23aab78a3837a29b38139af2e61e9c8f7df8c303/qa-theme/Donut-theme/qa-donut-layer.php#L912

3. Replace the text 'heart' with 'star' or any other CSS class from this file: https://github.com/amiyasahu/Donut/blob/23aab78a3837a29b38139af2e61e9c8f7df8c303/qa-theme/Donut-theme/css/font-awesome.css

Here is the cheatsheet for the current font-awesome icons: http://fontawesome.io/cheatsheet. The font awesome version that comes with Donut is 4.2.0 so there might be a few icons that are not available.