- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Alex
Marek
- Private: No
- Open Date: 10.12.18, 15:04
- Opened by: leandro bellani
- Closed by: Marek
- Closed on: 02.01.19, 14:50
- Reason: No answer from a customer
Ticket #13346 - smartphone icon
hello,
I would like to know how I can set the icon (icon not favicon!) of my logo for the smartphone (the one that is usually 500×500 px).
thank you
Comments
You have to add your icon (in SVG format) to icons base, read more here https://alysum5.promokit.eu/promokit/documentation/#svg
Then you can use following code to put it anywhere
sorry anywhere where?
I refer to the logo icon that appears when you save the site on your smartphone not like the facebook icon. Can you be more precise?
thank you
:) anywhere mean in any place of .tpl file of your theme.
1. Add your icon to the file /themes/alysum/templates/_partials/svg.tpl (read more in the documentation)
2. Add following code into the file /themes/alysum/templates/_partials/logo.tpl
where TITLE is he name of your icon
hi,
I tried to insert a svg icon following the guide and does not change anything if I save the site on the Home screen of my phone still does not see each other.
where I’ve wrong?
attached screenshot of the code
I’ve change the header and is appear this icon baloon with text alysum instead my logo!
the icon with balloons it’s the one that i’ve add in the code that you gave me but it’s absolutely not what I meant, I don’t want the logo I wanted the icon that appear in the smarthphone like icon of the app when a person save the site in its phone.
I suppose you need this service https://realfavicongenerator.net
no, i don’t need a favicon like i write you in the first message.
i need a icon like app that appear in the smartphone.
to explain myself better: if you go in a whatever website and right click (hold with your finger) or at the top right of google there are 3 dots → add to home screen, The website will appear as an app in your smartphone.
doing this, no icon appears and this is not good.
photo for example
thank you
you can do that with that service https://realfavicongenerator.net
ok thanks, what is the path where I have to implement the code that is created by https://realfavicongenerator.net in my prestashop site?
the files should I put them in www.example.it/img?
thanks
If you want I can ask my colleague to help you with that customisation.
As for your question, the path could be anywhere, it doesn’t matter
sorry, I opened a ticket because I would like to set the icon, I don’t understand what you’re telling me, if your colleague can help me pass the ticket as long as I go ahead.
thanks
Hi.
Here is tutorial about icon “add to homepage” https://webdesign.tutsplus.com/articles/quick-tip-give-your-website-an-ios-home-screen-icon--webdesign-10067
the code will look something like that
here is the file path where you need to add the code \themes\alysum\templates\_partials\head.tpl
add the code after
If you want I will add it for you for free. For that I need the icon file and ftp. FTP as I see you already added in the profile.
thank you, but I don’t understand, where do I insert my image, .jpg icon?
put the image here “site/img/link_icon.jpg” and add this code