VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Change icon social
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Change icon social

Change icon social 22 Feb 2015 17:10 #6280

Hi I'm sorry but I'm Italian





I would like to know how to change the icons of social
Thanks

  • Posts:3
  • Ponziani
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Change icon social 27 Feb 2015 18:30 #6304

I resolve I change the image to template.css


 #jf-social li a.button-facebook {
background-image: url(../images/facebook.png);
}
The following user(s) said Thank You: isupport

  • Posts:3
  • Ponziani
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Change icon social 27 Mar 2015 16:53 #6443

I added the new code for the icon youtube in template.css
#jf-social li a.button-youtube {
background-image: url(../images/youtube.png);
}

Also I added the code in index.php
<?php if ($templateparams->get('youtubeicon') && $templateparams->get('youtubelink') != '') : ?>
<li><a class="button-youtube" href="<?php echo $templateparams->get('youtubelink'); ?>" target="_blank"></a></li>
<?php endif; ?>

and also the code in templateDetails.xml
<field name="youtubeicon" type="radio" default="1"
label="Show Youtube Icon"
description="Select an option">
<option value="0">No</option>
<option value="1">Yes</option>
</field>

<field name="youtubelink" type="text" default="#"
label="Youtube Link"
description="Please add your youtube link here"
filter="string" />

but the icon does not appear.
What other files I have to change?
The following user(s) said Thank You: loan77

  • Posts:9
  • markews
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Change icon social 30 Mar 2015 03:40 #6453

Try to open jf_taman from Template Manager in backend and click Save button.

joomfreak

  • Posts:2763
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: [RESOLVED] Change icon social 30 Mar 2015 09:33 #6455

OK, resolved!
I don't understend why, but it's all right!
Thanks
Last Edit: 30 Mar 2015 09:34 by markews. Reason: RESOLVED

  • Posts:9
  • markews
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 1.04 seconds
Friday 21 June 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.