Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1356718
    patrobles
    Participant

    Hello X!

    Im creating a section of a website which will have one page navigation. When I added the menu as one page navigation it loses the formatting of the website.

    As it can be seen here http://www.mamachanguito.com my website has the navigation on the left and the content on the right.

    However, when I try the one page navigation the menu went to the top as shown here. http://www.mamachanguito.com/red-mama-changuito

    I want to keep the one page navigation but have the menu on the left side with the formatting and style of the rest of the site.
    Any help will be greatly appreciated.

    Kind regards,
    Pato

    #1356951
    Jade
    Moderator

    Hi Pato,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1358023
    patrobles
    Participant
    This reply has been marked as private.
    #1358316
    Christopher
    Moderator

    Hi there,

    By default one page navigation is always fixed top. To change its position, add following code in child theme’s functions.php file :

    // Get Navbar Positioning
    // =============================================================================
    
    if ( ! function_exists( 'x_get_navbar_positioning' ) ) :
      function x_get_navbar_positioning() {
    
        if ( x_is_one_page_navigation() ) {
          $output = 'fixed-left';
        } else {
          $output = x_get_option( 'x_navbar_positioning' );
        }
    
        return $output;
    
      }
      add_action( 'customize_save', 'x_get_navbar_positioning' );
    endif;

    Hope it helps.

    #1358900
    patrobles
    Participant

    Thanks alot!!

    #1359150
    Christopher
    Moderator

    You’re welcome.

  • <script> jQuery(function($){ $("#no-reply-1356718 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>