This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Move social icons to main menu

  • Creator
    Topic
  • #7205
    fotodng
    Participant

    Hi, I’ve a couple questions, is possible put the top right icons (RSS, FB, Twitter, etc.) inside menu bar, at right (just left to the search icon in menu bar).

    Best Regards, Carlos Longarela.
    Foto DNG Magazine

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #7212
    Jason Bobich
    Keymaster

    Hello,

    I’d suggest just using the theme’s action hooks from your Child theme’s functions.php. You’d just unhook from “themeblvd_header_addon” and hook to “themeblvd_header_menu_addon”.

    http://dev.themeblvd.com/tutorial/actions/

    http://dev.themeblvd.com/tutorial/primary-framework-action-hooks/

    For example —

    function my_header_menu_addon(){
    	echo '<div class="social-media">';
    	echo themeblvd_contact_bar();
    	echo '</div><!-- .social-media (end) -->';
    }
    remove_action('themeblvd_header_addon', 'alyeska_header_addon');
    add_action('themeblvd_header_menu_addon', 'my_header_menu_addon');

    … And then you’re essentially just left with CSS styling to place everything exactly where you want, but that’ll get the HTML markup all in the right place.

    #7215
    fotodng
    Participant

    Ok thanks Jason, I’ll prove the next week.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.