Move position of Social media icons
Support Area › Forums › Foundation › Move position of Social media icons
Tagged: align social media icons, Twitter
- This topic has 12 replies, 5 voices, and was last updated 11 years, 2 months ago by Bill Robbins.
-
AuthorPosts
-
April 25, 2012 at 02:36 #5768Naomi KleinParticipant
How do I move the social media and rss icons above the strap line? My site is here: http://www.felixfund.org.uk. I want them to sit ranged right above the line “Supporting bomb disposal experts”
April 25, 2012 at 09:22 #5770Bill RobbinsModeratorNaomi,
You can move those to just above your tagline. Just paste this right at the bottom of your style.css file and that should take care of it for you:
#nav-right { position: absolute; float: none; display: block; padding-top: 0; margin-right: 0; top: -102px; right: 0; }
If you need to adjust the height, just change the top value above. It’s set to a negative to move it that far above the navigation bar.
Let me know if you have any trouble or questions,
BillJanuary 29, 2013 at 15:11 #9188Robin WagnerParticipantHi Bill,
I just installed the foundation theme and would like the social media icons to be on the far right of the nav bar like in the demo.
Right now, they are just lining up next to the other nav buttons.
how do i change this?
ThanksJanuary 29, 2013 at 15:43 #9189Bill RobbinsModeratorRobin,
Thank you for your business first of all. The new version of Foundation that was just released uses a WordPress menu to add in the social icons. We did that to give users the maximum flexibility.
There is a section in the theme instructions under navigation menus that walks through how to add each icon.
If you have any trouble, let me know.
Thanks again,
BillJanuary 29, 2013 at 16:44 #9191Aaron DeVandryParticipantHi Bill. Thank you SOOO much for this update. I’ve been waiting eagerly for it, and it doesn’t disappoint.
I followed your directions in the instructions for adding the social icons to the nav bar, but I have the same question as Robin does above. How do we get them to align to the right side of the nav bar like in your demo?
If I add them to the nav bar in the WordPress menu options, the icons are just added to the right of the last menu option (“Contact”), left aligned.
Aaron
northridgewest.orgJanuary 29, 2013 at 16:48 #9192Bill RobbinsModeratorAaron,
Sorry for the confusion and I’m glad you fond the new version.
To set up the navigation like the demo, turn off the search option in the theme options page. Then make a menu for social icons. Add that menu to the “secondary” navigation menu. That will cause them to be aligned to the right of the navigation bar like the demo.
If you have any trouble, let me know.
Take care,
BillJanuary 29, 2013 at 17:17 #9193Aaron DeVandryParticipantPerfect! That worked like a charm. Thanks again.
January 29, 2013 at 19:47 #9195PL2VETSParticipantHi Bill
I too would like to have the original social icons above the tag line and not in the menu bar.
I pasted the code you mentioned here for Naomi in the CSS but it still did not move the twitter icon above the tag line. If I remove the icon from the main menu bar, will it then show up above the tag line? It just seems to look better above the tag. Is there any other steps that need to be taken?
Thanks for your suggestions they are very helpful.
Jeff
January 29, 2013 at 20:56 #9198Bill RobbinsModeratorJeff,
Great question. You can still move the icons over the navigation bar in the new version. Instead of the snippet above, give this a try:
#navigation { position: relative; } #nav-right { position: relative; top: -40px; } #nav-right li { border: none; }
You can change the position vertically with the top: -40px. If you make it smaller it will move the icons higher.
If you have any trouble, let me know,
BillJanuary 30, 2013 at 11:33 #9203PL2VETSParticipantHi Bill
I have also pasted the above code and changed the vertical limits to -30 and still no icon shows up above the tag line. Could it be I need to upload an icon for this to work? I removed the standard white twitter icon from the main menu thinking that was causing interference, but still nothing. My twitter code is also pasted into the social media menu and a css class added as well.
Am I missing something yet?
Jeff
January 30, 2013 at 11:56 #9206Bill RobbinsModeratorJeff,
Do you have the social media icons in the “secondary” menu location that’s on the right hand side of the navigation bar? The code will only affect that menu.
Just let me know,
BillJanuary 30, 2013 at 12:18 #9214PL2VETSParticipantBill
Yup all three social media icons are in secondary menu called social. I am trying to get the social icons above the tag line in the open space and not showing in the main menu bar.
I’ve changed the vertical limits like you suggested above to a -30 and still nothing. Could it be a setting?
Jeff
January 30, 2013 at 14:33 #9224Bill RobbinsModeratorJeff,
That’s really strange. We I enter that on my site, it moves the icons up like this:
-
AuthorPosts
- The topic ‘Move position of Social media icons’ is closed to new replies.