1. bengal313
  2. Commercial Templates
  3. Monday, 04 August 2014
  4.  Subscribe via email
Just purchased this template. Great job. Quick question I wanted to get rid of the 3 social icons on the main menu and replace them with just an email icon. Is this possible?
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

One option would be to enable just the RSS icon. You can then replace this icons with an email icon by adding the following to the Custom CSS field of your templates parameters...


.social-rss a {
background: url("../images/social_icons/email.png") !important;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Please note I am new to Joomla. So I might need some hand holding.

I am using the J51 Habitat - Example Style 1. So I went into
Extensions> Template Manager > J51_Habitat - Example Style 1 > Custom CSS and placed your code below the existing code

.social-rss a {
background: url("../images/social_icons/email.png";) !important;
}

The result is I get Twitter and Facebook icons. I would like just a email link and nothing else, Thank you in advanced.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Update: If I take the "#" out of the Twitter URL and Facebook URL the icons disappears. Only the RSS remains. Now when I go into the custom code tab and add your code the RSS icons disappears too. But you can hover over the area so I'm thinking something work with the custom code. The email.png image is there in the directory. If I pu in the entire URL path for the image location ex. http://www.yoursite.com/joomla/template/..... it works.

Thank you.
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Oh. Just noticed that when I hover over the email icon the tooltip says RSS. How do I change that?
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Thank you for sharing your solution :)

To replace the link title you will have to edit the core template files. In your templates index.php (../templates/j51_habitat/index.php) could you try replacing the following...


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


With....


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


Hope this helps

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 5
  • 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.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok