Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19324

    I’m playing with the catchbox free theme and created a child theme. I’d like to place the primary menu above the logo instead of beneath it. Is this possbile and if so, which files would I need to edit to do this?

    Thanks for any feedback or suggestions.

    #19329
    Sakin
    Keymaster

    @corinnecollins.com: Yes you can do that but it’s bit complicated. You need to create functions.php file in your child theme and add the following code:

    <?php
    /**
     * Catch Box Child Theme functions and definitions
     *
     */
    // Unhook Catch Box Theme Functions
    function unhook_catchbox_functions() {
    	remove_action( 'catchbox_after_headercontent', 'catchbox_header_menu', 10 );
    }
    add_action( 'init', 'unhook_catchbox_functions' ); 
    
    add_action( 'catchbox_before_headercontent', 'catchbox_header_menu', 5 );

    Then add the following CSS in your child theme style.css file.

    #header-content {
        clear: both;
    }
    #19332

    Awesome! Thank you soooo much, worked like a charm.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Is it possible to move primary menu’ is closed to new replies.