Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 170
Home › Forums › Theme Support › Charity › Move Social Icons to Header?
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
- This topic has 4 replies, 2 voices, and was last updated 11 years, 9 months ago by
rhurlburt.
-
AuthorPosts
-
September 11, 2014 at 9:58 pm #3856
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
rhurlburt
Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 109
Hey @skat,
Is there any way I can move the social icons from the footer to the header?
I found the code in the footer.php file…the code containing <!– social bottom –> and following…
Can I just copy & past this to move it to the header above the <!– blog title logo –> in the header.php file? I want to float the icons to the right so they sit above the menu…
September 15, 2014 at 4:44 pm #3883
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
skat
Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 109
Hi there,
Yes you can try to do this but I think you’ll have to adjust a little bit after you do it.
Let me know when you do it so I can take a look and we’ll see together how’s looking and if there’s anything to adjust.
Cheers!
September 15, 2014 at 5:47 pm #3891
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
rhurlburt
Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 109
So I pasted the code below into the header.php file as-is:
<div class="social-bottom"> <!-- subscribe --> <ul class="social-icons-widget"> <?php if ( !empty($sd_data['social_facebook_footer']) ) : ?> <li class="social-facebook"><a class="sd-bg-trans" href="<?php echo $sd_data['social_facebook_footer']; ?>" rel="nofollow" target="_blank">Facebook</a><span></span></li> <?php endif; ?> <?php if (!empty($sd_data['social_twitter_footer'])) : ?> <li class="social-twitter"><a class="sd-bg-trans" href="<?php echo $sd_data['social_twitter_footer']; ?>" rel="nofollow" target="_blank">Twitter</a></li> <?php endif; ?> <?php if (!empty($sd_data['social_linkedin_footer'])) : ?> <li class="social-linkedin"><a class="sd-bg-trans" href="<?php echo $sd_data['social_linkedin_footer']; ?>" rel="nofollow" target="_blank">LinkedIn</a></li> <?php endif; ?> <?php if (!empty($sd_data['social_googleplus_footer'])) : ?> <li class="social-googleplus"><a class="sd-bg-trans" href="<?php echo $sd_data['social_googleplus_footer']; ?>" rel="nofollow" target="_blank">Google Plus</a></li> <?php endif; ?> <?php if (!empty($sd_data['social_youtube_footer'])) : ?> <li class="social-youtube"><a class="sd-bg-trans" href="<?php echo $sd_data['social_youtube_footer']; ?>" rel="nofollow" target="_blank">Youtube</a></li> <?php endif; ?> <?php if (!empty($sd_data['social_vimeo_footer'])) : ?> <li class="social-vimeo"><a class="sd-bg-trans" href="<?php echo $sd_data['social_vimeo_footer']; ?>" rel="nofollow" target="_blank">Vimeo</a></li> <?php endif; ?> <?php if (!empty($sd_data['social_pinterest_footer'])) : ?> <li class="social-pinterest"><a class="sd-bg-trans" href="<?php echo $sd_data['social_pinterest_footer']; ?>" rel="nofollow" target="_blank">Pinterest</a></li> <?php endif; ?> <?php if (!empty($sd_data['social_instagram_footer'])) : ?> <li class="social-instagram"><a class="sd-bg-trans" href="<?php echo $sd_data['social_instagram_footer']; ?>" rel="nofollow" target="_blank">Instagram</a></li> <?php endif; ?> <?php if (!empty($sd_data['social_rss_footer'])) : ?> <li class="social-rss"><a class="sd-bg-trans" href="<?php echo $sd_data['social_rss_footer']; ?>" rel="nofollow" target="_blank">RSS</a></li> <?php endif; ?> </ul> <!-- subscribe end --> </div> <!-- social footer end -->You can view the site here: engraved.org.
How do I keep the menu floated to the right, directly underneath the social icons?
September 15, 2014 at 6:34 pm #3894
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
skat
Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 109
Hey,
Just after this:
<!-- social footer end -->paste this:
<br/><br/>Now, add this to the custom css box:
.main-menu { margin: 10px 10px 0 0; } .sf-menu li { display: inline-block; float: none; }Save. Done.
Let me know how’s going.
Cheers!
September 15, 2014 at 8:24 pm #3900
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
rhurlburt
Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 109
I think that did the trick. I’ll have to mess with the margins/padding with the logo so it doesn’t get cut off when viewed on a mobile device, but that should be easy enough.
THANKS @skat!
-
AuthorPosts
You must be logged in to reply to this topic.