This topic has 4 replies, 3 voices, and was last updated 7 years, 3 months ago ago by Rose Tyler
Hello,
Im trying to find the sticky eader template code, as I need to make some amends to it.
Whats the location of the sticky header code as in.
<div class="fixed-header header-color-dark fixed-enabled"><div class="container"><div class="header-logo"> <a href="http://www.schwihag.co.uk">
<img src="http://www.schwihag.co.uk/wp-content/uploads/2017/06/Schwihag_Logo_Main-min.png" alt="Innovative track and switch technology since 1971" width="186" height="52" class="logo-default">
<img src="http://www.schwihag.co.uk/wp-content/uploads/2017/06/Schwihag_Logo_Main-min.png" alt="" width="186" height="52" class="logo-fixed">
</a>
</div><div class="menu-wrapper menu-align-right"><div class="menu-main-container"><ul id="menu-main-menu-1" class="menu"><li id="menu-item-6351" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-5185 current_page_item menu-item-6351 item-level-0 item-design-dropdown columns-2"><a href="http://www.schwihag.co.uk/" class="item-link">Home</a></li>
<li id="menu-item-6297" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6297 item-level-0 item-design-dropdown columns-2"><a href="http://www.schwihag.co.uk/about-us/" class="item-link">About us</a></li>
<li id="menu-item-6481" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6481 item-level-0 item-design-dropdown columns-2"><a href="http://www.schwihag.co.uk/products/" class="item-link">Products</a></li>
<li id="menu-item-6406" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-parent-item menu-item-6406 item-level-0 item-design-dropdown columns-2"><a href="http://www.schwihag.co.uk/certification/" class="item-link">Certification</a>
<div class="nav-sublist-dropdown" style="top: 56px;"><div class="container">
<ul>
<li id="menu-item-6434" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6434 item-level-1"><a href="http://www.schwihag.co.uk/certification/quality-certifications/" class="item-link">Quality</a></li>
<li id="menu-item-6429" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6429 item-level-1"><a href="http://www.schwihag.co.uk/certification/link-up-certifications/" class="item-link">Link-up</a></li>
<li id="menu-item-6432" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6432 item-level-1"><a href="http://www.schwihag.co.uk/certification/network-rail-acceptance/" class="item-link">Network Rail Product Acceptance</a></li>
</ul>
</div></div><!-- .nav-sublist-dropdown -->
</li>
<li id="menu-item-6390" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-6390 item-level-0 item-design-dropdown columns-2"><a href="http://www.schwihag.co.uk/services/" class="item-link">Services</a></li>
<li id="menu-item-6447" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-6447 item-level-0 item-design-dropdown columns-2"><a href="http://www.schwihag.co.uk/news/" class="item-link">News</a></li>
<li id="menu-item-4289" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4289 item-level-0 item-design-dropdown columns-2"><a href="http://www.schwihag.co.uk/contact/" class="item-link">Contact</a></li>
</ul></div></div><div class="navbar-header"></div><div class="navbar-toggle">
<span class="sr-only">Menu</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</div></div></div>
all I see is headers/parts/top-bar.php but that doesn’t contain the code I’m after.
any assistant would be appreciated.
Cheers
Is there an easier way of adding th search bar to the sticky header?
Hello,
If you want to change what elements to display in fixed header you need to edit the script, there is no other way to change the fixed header structure.
Please, do all the changes in child theme to avoid problem with next theme update.
Regards
You must be logged in to reply to this topic.Log in/Sign up