WordPress.org

Ready to get started?Download WordPress

Forums

Vantage
[resolved] Moving Slider above Navigation (5 posts)

  1. Jelly79fish
    Member
    Posted 10 months ago #

    Great theme, first off. Thanks for building it.

    Is there a way to move the slider from the page area, below the navigation menus, to above the navigation? I'm looking to replace the top logo with the slider and have one of the slides be the logo.

  2. Greg Priday
    Member
    Theme Author

    Posted 10 months ago #

    It's a pleasure Jelly79fish :)

    This sort of edit wouldn't be for the faint of heart, but if you need to, open up header.php, find line 35 (call to vantage_slider), and move it above the line that looks like this

    <?php get_template_part( 'parts/masthead', apply_filters( 'vantage_masthead_type', '' ) ); ?>

    Then open up parts/masthead.php and remove the lines that look like this:

    <hgroup class="full-container">
    	<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home" class="logo"><?php vantage_display_logo(); ?></a>
    	<div class="support-text">
    		<?php do_action('vantage_support_text'); ?>
    	</div>
    </hgroup>

    The usual disclaimers apply, you should make these edits using a child theme, but this is a little more complicated.

    Ideally though, you should hire a WordPress developer to handle this for you :)

  3. ideclarewar
    Member
    Posted 10 months ago #

    Hi Greg,

    thank you very much for writing/providing this great theme and answering all the questions!

    I tried this out and it worked perfectly! But I have the following problem: the metaslider only is on the homepage and I`d like to have it on every page. Is there a way to get the slider on every page? What do I have to change in the header.php to call the slider always?

    All the best,
    Daniel

  4. Oliver Jordan
    Member
    Posted 10 months ago #

    @Greg,

    I liked Jelly79Fish's idea, and I did that on my site as well. But now I would also like to place the logo underneath where the Slider is. If I decide to have the slider on the page, I would like the logo to be underneath it but if I decide not to have it there I would still like the Logo to show up. Is that possible?

    Thank you

    Site: http://www.oliverjordan.com

  5. Jelly79fish
    Member
    Posted 10 months ago #

    Greg, thanks for taking the time to help us out. It's greatly appreciated!!

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.