Support » Theme: NatureSpace » Move menu

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author TT Themes

    (@tomastoman)

    Dear Kim,

    you will need to edit the “header.php”. Please search there for the following code (it is located just at the end of the file):

    <?php if ( is_home() || is_front_page() ) { ?>
    <?php if ( get_header_image() != '' && $naturespace_options_db['naturespace_display_header_image'] != 'Everywhere except Homepage' ) { ?>
      <div class="header-image">
        <img class="header-img" src="<?php header_image(); ?>" alt="<?php bloginfo( 'name' ); ?>" />
        <div class="header-image-container">
        <div class="header-image-text-wrapper">
          <div class="header-image-text">
    <?php if ( $naturespace_options_db['naturespace_header_image_headline'] != '' ) { ?>
            <p class="header-image-headline"><?php echo esc_attr($naturespace_options_db['naturespace_header_image_headline']); ?></p>
    <?php } if ( $naturespace_options_db['naturespace_header_image_link_url'] != '' && $naturespace_options_db['naturespace_header_image_link_text'] != '' ) { ?>
            <p class="header-image-link-wrapper"><a class="header-image-link" href="<?php echo esc_url($naturespace_options_db['naturespace_header_image_link_url']); ?>"><?php echo esc_attr($naturespace_options_db['naturespace_header_image_link_text']); ?></a></p>
    <?php } ?>
          </div>
        </div>
        </div>
      </div>
    <?php } ?>
    <?php } else { ?>
    <?php if ( get_header_image() != '' && $naturespace_options_db['naturespace_display_header_image'] != 'Only on Homepage' ) { ?>
      <div class="header-image">
        <img class="header-img" src="<?php header_image(); ?>" alt="<?php bloginfo( 'name' ); ?>" />
      </div>
    <?php }} ?>

    and move it just above this element:

    <div class="header-content-wrapper">

    Best regards,
    Tomas Toman

    Thank you Tomas for your speedy reply! Will I need to start over and install a child theme to do this?

    Theme Author TT Themes

    (@tomastoman)

    You are welcome! If you modify a theme directly and it is updated, then your modifications may be lost. To avoid overwriting your customizations once the theme is updated, I recommend you to create a child theme.

    Best regards,
    Tomas Toman

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Move menu’ is closed to new replies.