WordPress.org

Ready to get started?Download WordPress

Forums

Relocating the menu and the search bar (2 posts)

  1. pepecupon
    Member
    Posted 5 months ago #

    Hey there!

    Im not the best when it comes to web coding although back in my days I learned basic html and css and managed to had a wordpress blog running for a couple of years doing basic mainteneance.

    Now after a long hiatus I decided to come back to blogging and I find that my knowldege is kinda rusty, so I will need your help for something that probably is pretty easy to do but I cant figure out how.

    Im using this responsive theme called "Family" and using it as a base to customize it more likely to my needs and likes.

    Altough the theme is pretty responsive there are a couple things Id like to change:

    1. I want to move the menu below the header,

    2. I want to move the search bar from the sideber (which will be hidden using one of the responsive features of the theme) to underneath of the menu

    I think that the thing is to move the code in the index.php and place the menu "caller" underneath the header, but I cant seem to find the "caller" for the menu at the page.

    Look here:

    <?php
    get_header(); ?>
    
    	<main class="<?php echo omega_apply_atomic( 'main_class', 'content' );?>" <?php omega_attr( 'content' ); ?>>
    
    		<?php
    		do_action( 'omega_before_content' );
    		do_action( 'omega_content' );
    		do_action( 'omega_after_content' );
    		?>
    
    	</main><!-- .content -->
    
    <?php get_footer(); ?>

    The menu is coded in a file called "menu-primary.php" but I cant find it there.

    And regarding the search bar, is pretty much the same, I know where to find the .php but dont know where to fix it position in the theme.

    Thanks in advance for your help!

  2. pepecupon
    Member
    Posted 5 months ago #

    Bump for help!

    Anyone has any idea on how to do this?

    Thanks in advance!

Reply

You must log in to post.

About this Topic