1. sjudelson
  2. Sherlock Holmes
  3. Commercial Templates
  4. Friday, 10 October 2014
  5.  Subscribe via email
I am using your J51 Substance template. I would like to add an Instagram icon and link to the social media bar. I suspect that the simplest way is to change an unused social media icon and link (e.g., MySpace) to an Instagram icon and link and that this will require (a) that I modify the sm_icons.png file in the Substance/Images folder to replace the unused MySpace icon with an Instagram icon, and (b) add my Instagram. url in the MySpace field in the Template Manager. Where, however, do I find the file/line that should be changed so that "Instagram" is shown instead of MySpace when my cursor hovers over the changed icon?

Thanks!
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

You will find what you are looking for in your templates index.php (../templates/j51_substance/index.php). On line 55 you will find the following..


<li class="nav_myspace"><a href="/<?php echo $this->params->get('nav_myspace'); ?>" title="MySpace" target="_blank"></a></li>


which you can replace with the following...


<li class="nav_myspace"><a href="/<?php echo $this->params->get('nav_myspace'); ?>" title="Instagram" target="_blank"></a></li>


CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.