Arrangement of logo, menu and social icons in header – question
-
I’ve used the snippets to push the social icons to the right, remove the description, and hide the nav box. Also modified the functions.php file to alter the spans for positioning of logo, menu and social icons:
// LOGO // add_filter('tc_logo_text_display', 'rdc_custom_center_brand'); add_filter('tc_logo_img_display', 'rdc_custom_center_brand'); function rdc_custom_center_brand($output) { return preg_replace('|span3|', 'span3', $output); } // NAV BAR // add_filter('tc_navbar_wrapper_class','my_navbar_wrapper'); function my_navbar_wrapper(){ return 'navbar-wrapper clearfix span7'; } // SOCIAL ICONS // add_filter('tc_social_in_header', 'rdc_social_in_header'); function rdc_social_in_header($output) { return preg_replace('|span5|', 'span1', $output); }
1st question: I feel like in the header, the div for the social icons comes in before the menu nag, is this correct?
My goal: to vertically align the menu and social icons to the bottom of the navbar-wrapper.
2nd question: Do I need to modify header.php file to rearrange these elements, or am I really just overlooking the css piece to that I need to tweak? I’ve been staring at it too long and can’t see what I’m missing.Thanks in advance for the help!!
- The topic ‘Arrangement of logo, menu and social icons in header – question’ is closed to new replies.