- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 10.12.19, 21:46
- Opened by: bruno fuks
- Closed by: Fred
- Closed on: 31.12.19, 08:57
- Reason: Closed
- Comment: Glad to help!
Ticket #16421 - change languages selector icon
How i can change this icon by a flag icon ?
Comments
How to manage SVG icons you can find here https://alysum5.promokit.eu/promokit/documentation/#svg
You need this file /themes/alysum/modules/ps_languageselector/ps_languageselector.tpl to edit
I tried to follow the procedure indicated in the documentation but without success. Can you please tell me the step-by-step procedure to change the language selector logo to this one (https://www.flaticon.com/free-icon/language_2014517?term=languages&page=1&position=43)
big thanks
Attachments:
Capture d’écran (207).png(367.5 KiB)Here is step by step procedure:
1. Open the file /themes/alysum/templates/_partials/svg.tpl
2. find “facebook” icon, it looks like this:
3. Find new icon, for example here: flaticon.com
4. Download it and open in any Text Editor
5. Copy all code between “<svg>” and “</svg>” tags
6. Paste it into the file svg.tpl between “<symbol id=”si-facebook” viewBox=”0 0 288.861 288.861”>” and “</symbol>” 7. Copy SVG dimensions
7. and update them in symbol tag like this
here’s the code I get from the svg file but there’s nothing between “<svg>” and “</svg>”
Attachments:
Capture d’écran (211).png(303.3 KiB)here’s the code I get from the svg file but there’s nothing between “<svg>” and “</svg>”
Attachments:
Capture d’écran (211).png(303.3 KiB)send me your icon, I’ll add it for you
https://www.flaticon.com/free-icon/translating_2104994?term=language&page=1&position=51
thank you sir
Attachments:
translating.svg(2.9 KiB)I just add it to the file, now the icon available with the name “lang2” and you can add it whenever you want.
thanks but what should I add to make it appear instead of the globe logo of the language selector please?
Open the file /themes/alysum/modules/ps_languageselector/ps_languageselector.tpl, fine current icon and replace with the new one
I try it but it doesn’t work
you seems have some cache, try to disable it
Now all is fine, I have disabled your cache by myself https://take.ms/7EcZ8
Hello, I made a mistake on the logo to put. Can you please replace the current logo of the language selector by this one. I sincerely apologize for the inconvenience, sorry.
thanks!
https://www.flaticon.com/free-icon/language_2014517?term=languages&page=1&position=43
Attachments:
language (1).svg(4.6 KiB)Done
thanks you are the best
you are welcome.
Please support out theme if you like it and our service. You could rate it here http://themeforest.net/downloads