- This topic has 89 replies, 14 voices, and was last updated 8 years, 7 months ago by
Ian.
-
AuthorPosts
-
April 29, 2017 at 6:46 am #311921
Mustafa
Hi Leo,
Thanks for your reply.
Here is the site.
I’m trying to increase the size of the Facebook button in the primary menu. It looks too small at the moment in comparison to the size of the text of the other menu items. But I don’t want to increase the size of the other menu items.
Is that possible?
April 29, 2017 at 8:58 am #311966Leo
StaffCustomer SupportThis should work:
.main-navigation .social_icon a { font-size: 20px; color: #3b5998 !important; }Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know.
April 29, 2017 at 9:01 am #311967Mustafa
That works beautifully.
Thanks!
April 29, 2017 at 9:05 am #311969Leo
StaffCustomer SupportGlad I could help!
April 29, 2017 at 9:07 am #311970Mustafa
Btw how can I change the colour to the default blue Facebook colour for the icon?
April 29, 2017 at 9:10 am #311972Leo
StaffCustomer SupportAdjusted the code above: https://generatepress.com/forums/topic/social-networks-buttons-on-nav-menu-bar/page/6/#post-311966
April 29, 2017 at 10:15 am #311999Mustafa
Thanks that’s great!
Are you able to recommend a good course to learn CSS?
April 29, 2017 at 11:57 am #312028Leo
StaffCustomer SupportThis site is a good starting point with some quick walk throughs: https://www.codecademy.com/learn/learn-html-css
This site has lots of good info: https://www.w3schools.com/css/default.asp
Then definitely learn to use the developer’s tool from your browser is absolutely the key 🙂
April 30, 2017 at 3:36 am #312170xepace
Hello. Maybe someone know how to fix position of facebook button on nav menu? I would like to put the button to the right position for all screen resolutions. Like on images
http://i.imgur.com/1vcjtZi.png
http://i.imgur.com/dmX26jU.png
http://i.imgur.com/4WlkB6y.pngApril 30, 2017 at 9:16 am #312235Tom
Lead DeveloperLead DeveloperCan you start a new topic for that?
Thanks!
May 1, 2017 at 7:35 am #312525Mustafa
Thanks for the links Leo.
I will check them out.
May 1, 2017 at 8:52 am #312560Leo
StaffCustomer SupportAwesome!
July 25, 2017 at 6:01 am #354572Ian
Hi folks,
Ok trying to integrate the above and keep hitting brick walls 🙁
I’ve created 3 menu options, one for Facebook, one for Twitter and one for Instagram.
The CSS i’ve added to Customize-Additional CSS is…
.main-navigation li.social_icon_facebook { float: right; !important } .main-navigation li.social_icon_twitter { float: right; !important } .main-navigation li.social_icon_instagram { float: right; !important }And the CSS classes i’m using in the menu options is…
social_icon_twitter social_icon_facebook social_icon_instagramNow…that works. I have icons floating right linking to their respective networks.
But I want to now change the hover color of those icons from the default I have set up to their respective own colours, so like blue for FB, aqua for Twitter and ermm possibly a gradient for instagram.
I can get the colours easily enough and create the gradient too but working out the CSS to make the hover I cannot do.
Please help if you can 🙂
July 25, 2017 at 8:26 am #354642Leo
StaffCustomer SupportHi there,
Since this post is already so long can you please create a new topic and provide a link to your site if you can?
Thanks!!
July 25, 2017 at 8:48 am #354661Ian
Hi Leo…sure thing 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.