Reply To: DIfferent Image icons on Secondary Menu

Home Forums Support DIfferent Image icons on Secondary Menu Reply To: DIfferent Image icons on Secondary Menu

Home Forums Support DIfferent Image icons on Secondary Menu Reply To: DIfferent Image icons on Secondary Menu

#163857
Joseph

Tom, I tried searching for a thread on this fix. The secondary menu with images works fine on the home page nestled under the slider which I set on GPHooks as the following:
AFTER HEADER:
<?php if ( is_page( ‘2’ ) ) : ?>
[smartslider2 slider=”1″]
<?php endif; ?>

All I wanted to do now is set a small image 100% across in place of where the slider was using the ID$ for the page in question. The images will be different and as mentioned I can control that with the Page ID#. However now the secondary menu looks to have lost the CSS on after I added the image with this code in GPHooks:

<?php if ( is_page( ’25’ ) ) : ?>
<img style=”width:100%” src=”http://provinciawebdesign.com/client/ips/wp-content/uploads/2016/01/About_top.jpg&#8221;
<?php endif; ?>

If I remove the code the secondary menu works fine. If you look at the About IPS page you can see what I’m talking about vs the Home page. provinciawebdesign.com/client/ips/about-ips.

Here is the code used to move the secondary menu down below the slider/images in the child theme functions.

add_action(‘after_setup_theme’,’generate_move_secondary_nav’);
function generate_move_secondary_nav()
{
remove_action( ‘generate_after_header’, ‘generate_add_secondary_navigation_after_header’, 7 );
add_action( ‘generate_after_header’, ‘generate_add_secondary_navigation_after_header’, 11 );
}

Just pulling what little hair I have left. Any help is appreciated.

Thanks!