Support » Themes and Templates » Repositioning slider between logo and navigation bar
3 years, 3 months ago
I tried to move the sticky posts slider between the logo and the menu bar. Unfortunately the modifications I made in the header.php were not successful.
I’d like to display the slider everywhere on the page but would love to move it above the menubar.
If I am not wrong, I have to move either the slider entries or the menu entries but I am not sure where. Any hints?
Do you have a link to your site?
Well, I do have, but it should not be published so far… I am helping a friend setting up a small business.
Yet I have some success: I manually put the code:
<?php if( pinboard_get_option( 'slider' ) ) : ?>
<?php get_template_part( 'slider' ); ?>
<?php endif; ?>
in the header.php of my child theme and deleted this code from the template-landing-page.php.
For now, it is working as it should and if my friend is using other template pages then I have to delete it there as well.
Or is there any better way of solving this?
I think thats pretty much it!