Shape 5

Joomla Templates => Curb Appeal - Club => : Joesef June 20, 2018, 06:29:34 AM



: How to add external links to social media buttons
: Joesef June 20, 2018, 06:29:34 AM
Hello,

How do I add external links to the social media buttons at the top of the homepage?


: Re: How to add external links to social media buttons
: mikek June 20, 2018, 07:18:58 AM
Hello,

The social media icons are just in a custom html module that's published to custom_6. So you would change the href to any url you want, for example:

<a href="" target="_blank" class="social_icon ion-social-facebook">[/url]

Just enter the url of your choice in the href="" section.


: Re: How to add external links to social media buttons
: Joesef June 20, 2018, 09:36:42 AM
I don't get it. The code on custom 6 reads as,

 <a target="_blank" class="social_icon ion-social-facebook" rel="noopener noreferrer">[/url]

Should I edit it to be

<a href="" target="_blank" class="social_icon ion-social-facebook">[/url]


: Re: How to add external links to social media buttons
: Joesef June 20, 2018, 09:50:38 AM
What about if I want to change the social media icons? Let's say, I want to add Instagram, instead of using the Pinterest?

And what about if I want to reduce the total number of icons on the custom 6?

Regards


: Re: How to add external links to social media buttons
: mikek June 21, 2018, 06:28:48 AM
Hello,

I don't know what you mean, the code for the social icons is exactly as I gave above. If you need the original code it's also given here:

http://www.shape5.com/demo/curb_appeal/index.php/tutorials-menu-48/custom-code-for-this-design

All you do is enter your own url in the href section.

If you need a different icon that would be custom coding. I would recommend editing editor.css and search for "facebook", that will take you to the area of the css that controls these icons. Just make a copy of one of the icons and change the class name.