Menu & Branding order


I've managed to center my primary menu & my branding using the code below but I'd pefer the menu to be above the branding and I'm struggling a bit. Thoughts appreciated.

beans_replace_attribute( 'beans_primary_menu', 'class', 'uk-float-right', 'uk-text-center' );
beans_add_attribute( 'beans_menu[_navbar]', 'class', 'uk-display-inline-block' );
beans_add_attribute( 'beans_menu_item', 'class', 'uk-text-left' );

beans_remove_attribute( 'beans_site_branding', 'class', 'uk-float-left' );
beans_add_attribute( 'beans_site_branding', 'class', 'uk-text-center uk-margin-bottom' ); // centre site branding

Hey Kim

Check out my tutorial site here and see if that helps: https://wpbeansframework.com/

Again I would advise on using another theme/framework. As Beans is getting very old and is not being updated.

Write a reply

Login or register to write a reply, it's free!