CLOUDHOST ICONS...

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Aug 26, 2016 6:36 pm
Reply with quote
Report this post
Hi. I need to change some of the icons on the module: "All our plans". As I can see the list of icons already present in the template CLOUDHOST for Joomla 3.x ?, thanks, greetings ... Example: I need Facebook Icon, and News Icon... :?:
User avatar
Platinum Boarder

teitbite
Sun Aug 28, 2016 3:50 pm
Reply with quote
Report this post
Hi

You can use http://fontawesome.io/icons/ it's already included in template.
User avatar
Moderator

GK User
Mon Aug 29, 2016 9:59 am
Reply with quote
Report this post
Hi. I Copy the code of the desired icon on this link: http://fontawesome.io/icon/newspaper-o/

<I class = "fa fa-newspaper-or" aria-hidden = "true"> </ i>

Add the code to the code module "All our plans," but does not make me any change, not the new icon appears me. I am missing something done ?, thanks, greetings ...

<Div class = "gkIcon animated"> <a href="http://www.tainternational.it/contattaci.html"> <i class = "fa fa-newspaper-o"> </ i> <span> News </ span> </a> </ div>
User avatar
Platinum Boarder

teitbite
Tue Aug 30, 2016 3:02 pm
Reply with quote
Report this post
Hi

Och, template still have old version of fontawesome. Edit file /layout/blocks/head.php and replace line:

Code: Select all
$this->API->addCSS($this->API->URLtemplate() . '/css/font-awesome.css');


with a code which You will generate on this page: http://fontawesome.io/get-started/
User avatar
Moderator

GK User
Tue Aug 30, 2016 3:24 pm
Reply with quote
Report this post
Hi. I did what you told me, but does not work and gives me error the site. I had to copy the saved head.php. Any solution ?, thanks, greetings ...

Hey there! As requested, here's your … Font Awesome embed code!
<script src="https://use.fontawesome.com/9f3448e6a3.js"></script>
Get your icons up and running in just 2 steps!
1 Copy this code & place in your HTML's <head>
2 Use any of Font Awesome 605+ icons in your project's UI
User avatar
Platinum Boarder

teitbite
Tue Aug 30, 2016 4:45 pm
Reply with quote
Report this post
Hi

I saw that happen and I know what You did. It's a html line, so to add it into php code You first need to close php and open it again after. Sorry I haven't mentioned it, it's natural for me, so I completly forgot. Use this code like that:

Code: Select all
?><script src="https://use.fontawesome.com/9f3448e6a3.js"></script><?php
User avatar
Moderator

GK User
Wed Aug 31, 2016 11:11 am
Reply with quote
Report this post
Hi. Thanks for your reply. Problem solved 100% perfect, thank you for your instructions, greetings ... :D
User avatar
Platinum Boarder

teitbite
Fri Sep 02, 2016 1:22 pm
Reply with quote
Report this post
Hi

Great to hear it. Closing this thread now.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.