WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
Repositioning slider between logo and navigation bar (4 posts)

  1. bundu
    Member
    Posted 1 year ago #

    Hey folks!

    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?

  2. paul.a.cunn
    Member
    Posted 1 year ago #

    Do you have a link to your site?

  3. bundu
    Member
    Posted 1 year ago #

    Hi Paul!

    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?

  4. paul.a.cunn
    Member
    Posted 1 year ago #

    I think thats pretty much it!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic