Site logo

Archived topic

Navigation Is Really Long

42 replies · Started by Terrell Jerry on September 7, 2017

Viewing posts 1–15 of 43

My navigation is showing up really big and header. I need help asap!

Hi there,

Can you link us to your site?

It's not showing it anymore thanks for responding back so early.

Hmm can you try disabling all non-GP plugins?

My homepage is still showing a very long navigation. What do I need to do!

https:jerrymarcellus.com

Yea but this plugin is causing it but I need it so what do I need to do.

Code Snippets

Activate
More Details

An easy, clean and simple way to add code snippets to your site.

By Shea Bunge

Hmm Code Snippets itself definitely shouldn't be causing that.

What snippets have you added in there?

Activate sidebar when using sections.

add_filter( 'generate_sections_sidebars','generate_enable_sections_sidebars' ); function generate_enable_sections_sidebars() { return true; }

Stop banners from showing on the homepage.

if ( ! is_front_page() ) : ?><script data-oio-zone="type=banner&zone=2&align=center&refresh=0">
(function(w,d,e,o,u,s,t){w[o]||(w[o]={},s=d.createElement(e),s.src=u,s.async=1,
t=d.getElementsByTagName(e)[0],t.parentNode.insertBefore(s,t))})(window,document,
"script","oiopub","https://zippsurge.com/wp-content/plugins/oiopub-direct/zones.js");
</script>
<?php endif;

Make banner show up on the blog and single post with sections active.

add_action( 'generate_before_main_content','tu_blog_banner' );
function tu_blog_banner() {
if ( is_home() || is_single() ) {
?>
<script data-oio-zone="type=banner&zone=2&align=center&refresh=0">
(function(w,d,e,o,u,s,t){w[o]||(w[o]={},s=d.createElement(e),s.src=u,s.async=1,
t=d.getElementsByTagName(e)[0],t.parentNode.insertBefore(s,t))})(window,document,
"script","oiopub","https://zippsurge.com/wp-content/plugins/oiopub-direct/zones.js");
</script>
<?php
}
}

Every time I activate it makes my navigation really long and header really long!

Can you try removing the last two functions?

It worked but how do I use the other codes I need them for my website!

Hmm which one was causing the conflict? Where did you get the code?

This archived topic is closed to new replies.