Main menu z-index

Hey guys,

I’m back with a other question, when you look @ http://www.salsasuriname.nl you wil see that when you scroll up te the wow siders i put on the page will go over the main menu. I askes the plugin wow slider how to change it so it will go unther te menu, they advised me to change te z-index for the main nav to 91. I tried to put this code in the style CSS bud it does not work:

#main-nav a {
z-index: 91;
}

Can you tell me what i do wrong.

Regard

WIMA

Hi WIMA,

I hope you are well today and thank you for your question.

I visited your site http://www.salsasuriname.nl/ and found the wow slider is displaying under the menu as shown in the attached screenshot.

Have you managed to display it properly?

Please advise.

Best Regards,
Movin

Here’s the screenshot.

Hy Movin,

I did not managed it bud simply changed the WP menu to a Ubermenu.

Regards

WIMA

Hi WIMA,

Then do you still want assistance for it?

If yes then please reproduce the issue on your site so that i can help you to fox it.

Regards,
Movin

Movin, thanks bud i will leave it this way.

Regards

WIMA

You are always welcome here :slight_smile:

Please advise if you have more questions.

Thanks Movin can you please look at my other topic “some thing wend wrong” because I can not save or ad anymore in my WP.

Regards

WIMA

Movin i solved the problem by removing next text from function.php in my child theme

<?php

// Remove old copyright text
add_action( ‘init’ , ‘remove_copyright’ , 15 );
function remove_copyright() {
remove_action( ‘travelify_footer’, ‘travelify_footer_info’, 30 );
}

// Add new copyright info
add_action( ‘travelify_footer’ , ‘new_footer_info’ , 30 );
function new_footer_info() {
$output = ‘<div class=“copyright”>Copyright © 2015 Info Suriname.</div>’;
echo do_shortcode( $output );
}

?>

Why did it cause this error.

Regards

WIMA

Hi WIMA,

It seems you faced the error because in the functions.php file of child theme there always be the opening PHP tag so you should remove it from your shared code as it will become duplicate and can also remove the closing tag as it’s optional.

So just try using the following code instead of the code that you have shared.

// Remove old copyright text
add_action( ‘init’ , ‘remove_copyright’ , 15 );
function remove_copyright() {
remove_action( ‘travelify_footer’, ‘travelify_footer_info’, 30 );
}

// Add new copyright info
add_action( ‘travelify_footer’ , ‘new_footer_info’ , 30 );
function new_footer_info() {
$output = ‘<div class=”copyright”>Copyright © 2015 Info Suriname.</div>’;
echo do_shortcode( $output );
}

Regards,
Movin