Header

General

Logo & Favicon

Prior to WP 4.3, logo and favicon were part of Electro theme options. Since 4.3, logo and favicon are part of WP’s core feature. You can upload your favicon from Appearance > Customize > Site Icon and logo from Appearance > Customize > Site Image. You can read more details about logo here : and favicon here : Creating a Favicon

Top Bar

Show Top Bar in mobile header

1.In electro there is only one menu called the handheld menu that is a slide-in nav menu.

2. By default top bar does not appear in mobile. If you want to show top bar in mobile you will have to paste this code in your child theme’s functions.php : https://gist.github.com/ibndawood/d3d440086017b140d3865068aa3ad96e

Header v1

Hooked functions and their priorities

<?php
/**
 * @hooked electro_row_wrap_start - 0  
 * @hooked electro_header_logo - 10 
 * @hooked electro_navbar_search - 20 
 * @hooked electro_navbar_compare - 30 
 * @hooked electro_navbar_wishlist - 40 
 * @hooked electro_navbar_mini_cart - 50 
 * @hooked electro_row_wrap_end - 70 
 * @hooked electro_row_wrap_start - 80 
 * @hooked electro_vertical_menu - 90 
 * @hooked electro_secondary_nav - 95 
 * @hooked electro_row_wrap_end - 99 
 */
 do_action( 'electro_header_v1' ); ?>

Header v2

Remove support info & make primary nav full-width

To remove support info from header please copy the code from functions.php ( from line 2 ) here : https://gist.github.com/ibndawood/b1604d337e8c0b3bff8ca37a6ef2e76f#file-functions-php and paste it into your child theme’s functions.php

Header v3

Center align navbar primary

To center navbar primary, Please add this Custom CSS : https://gist.github.com/ibndawood/09eb1750433fb08adfcd509f69d5c577

Dropdown menu does not show submenu in mobile

Please navigate to Appearance > Menus > Manage Location and make sure you’ve assigned a menu to “Handheld” menu.