social icon
Responsive Joomla template for Entertainment and Music purpose with clean and lightweight design.
- GK User
- Sun Jun 09, 2013 2:04 pm
hi,
also would like to know how to add social icons to menu ?
would like facebook and twitter only to be shown on the main manu bar ..
thanks
also would like to know how to add social icons to menu ?
would like facebook and twitter only to be shown on the main manu bar ..
thanks
-
- Gold Boarder
- GK User
- Sun Jun 09, 2013 3:31 pm
Hi, you have to options depends what you really need:
1) Add social buttons module as a menu item -- > please read my article + comment here: http://gavick.com/magazine/how-to-loadi ... items.html
2) Add to menu items with link to your facebook and tweeter page, and use class to get right background color (if you'd like to see it please give me info)
3) or modify module menu sourcecode
1) Add social buttons module as a menu item -- > please read my article + comment here: http://gavick.com/magazine/how-to-loadi ... items.html
2) Add to menu items with link to your facebook and tweeter page, and use class to get right background color (if you'd like to see it please give me info)
3) or modify module menu sourcecode
-
- Platinum Boarder
- GK User
- Sun Jun 09, 2013 3:40 pm
what i want to add to the menu is the icon plus name only ... nothing else
just like in the demo...
<a class="iconFacebook" href="http://www.facebook.com/gavickpro" target="_blank">Facebook</a>
this one here
just like in the demo...
<a class="iconFacebook" href="http://www.facebook.com/gavickpro" target="_blank">Facebook</a>
this one here
-
- Gold Boarder
- GK User
- Sun Jun 09, 2013 4:15 pm
ad 2) see my example
you have to know ID of your menu items and add
fb-tw-menu.png
you have to know ID of your menu items and add
- Code: Select all
#menu510 {background:#3B5998 }
#menu511 {background:#00BEF6 }
fb-tw-menu-html.png
-
- Platinum Boarder
- GK User
- Sun Jun 09, 2013 4:52 pm
Ok thats half done ..
Where is the icon?
Can one icon be placed for each link ?
Where is the icon?
Can one icon be placed for each link ?
-
- Gold Boarder
- GK User
- Sun Jun 09, 2013 5:04 pm
Using css also (CSS background), but our default icons are black so you need a new one: (24 x 24px) & WHITE & TRANSPARENT BACKGROUND, find them and copy to "templates\gk_music\images\" folder , then we talk more.
Probably you wont have colorful icons on menu which not fit.
Probably you wont have colorful icons on menu which not fit.
-
- Platinum Boarder
- GK User
- Sun Jun 09, 2013 5:22 pm
done
-
- Gold Boarder
- GK User
- Sun Jun 09, 2013 6:25 pm
tried to fallow this guide
http://www.gavick.com/magazine/how-to-a ... -menu.html
added the icon as described in the guide ... saved the menu ...refresh ... no icon showing...
am i missing something here ? thanks
http://www.gavick.com/magazine/how-to-a ... -menu.html
added the icon as described in the guide ... saved the menu ...refresh ... no icon showing...
am i missing something here ? thanks
-
- Gold Boarder
- GK User
- Sun Jun 09, 2013 7:29 pm
Sorry, but described on magazine method is not working with plg_gkextmenu.zip installed.
So we have to use CSS anyway. Wait a moment I will give you tips
So we have to use CSS anyway. Wait a moment I will give you tips
-
- Platinum Boarder
- GK User
- Sun Jun 09, 2013 7:52 pm
Example css code (for Facebook item) do this same with twitter
change #menu510 to your menu ID. This code is good I tested it, for example 16x16 px icon
...but you can use bigger (24x24px), just add more padding - that's all.
- Code: Select all
#menu510 {background:#3B5998 url("http://YOURdomian.com/templates/gk_music/images/facebook.png") no-repeat 5px 15px; padding-left:40px; }
#menu510 span {padding-left:10px}
change #menu510 to your menu ID. This code is good I tested it, for example 16x16 px icon
fb-16px.png
...but you can use bigger (24x24px), just add more padding - that's all.
-
- Platinum Boarder
10 posts
• Page 1 of 1