Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #418664

    can i display the first menuentry (placeholder) of the megamenu next to the logo in the same row? first the logo then the menu. like here https://www.fototv.de/ ?

    #419509

    Hey alfaweb2!

    First off change your header layout to logo left and menu right and let us know when your done and we’ll give you some CSS to use.

    Regards,
    Elliott

    #421172

    Thank you Elliott ;)

    http://www.alfaweb.at/test

    #421175

    Is it possible to insert the Search Field in the Header like here https://www.fototv.de/ ? the search field should be displayed the whole time inside the header and NOT slide down by clicking on it. Is there a way with css?

    #421851

    Hi!

    You can add this to the Quick CSS field:

    .main_menu {
      position: relative;
      left: 100px;
    }

    Use this to add the default search form:

    add_action('ava_inside_main_menu', 'ava_inside_main_menu_mod');
    function ava_inside_main_menu_mod() {
    	get_search_form();
    }

    Use css to modify the style.

    Regards,
    Ismael

    #421863

    Thanks. Looks really good. Can i get the search field to al position like here –> http://i.imgur.com/eELX7yz.jpg

    And is it possible to show the 2nd Enfold Menu at the right end of the header? i want to display 2 or 3 menu entry (like contact,…).

    Thanks.

    #422279

    Hey!

    Replace the code with this if you want to show the secondary menu in the main header:

    add_action('ava_inside_main_menu', 'ava_inside_main_menu_mod');
    function ava_inside_main_menu_mod() {
    	get_search_form();
    //display the small submenu
    $avia_theme_location = 'avia2';
    $avia_menu_class = $avia_theme_location . '-menu';
    $args = array(
    	'theme_location'=>$avia_theme_location,
    	'menu_id' =>$avia_menu_class,
    	'container_class' =>$avia_menu_class,
    	'fallback_cb' => '',
    	'container'=>'',
    	'echo' =>false
    );
    
    $nav = wp_nav_menu($args);
    echo "<nav class='sub_menu' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">";
    echo $nav;
    do_action('avia_meta_header'); // Hook that can be used for plugins and theme extensions (currently: the wpml language selector)
    echo '</nav>';
    }

    You can adjust the elements’ position via css. If you’re not sure what to do, look for any tutorial about google inspector and firebug. It will help a lot with custom css modifications.

    Cheers!
    Ismael

    #423010

    thanks, i try this out. But at the moment i have troubles with the logo and the menu? http://www.alfaweb.at/test/web-2-0-directory/wind/

    can you see the problem? the logo is OVER the menu ;)

    #423548

    Hey!

    I can’t see that the logo is above the menu. It looks fine for me:

    Can you provide us a screenshot of what you see? Please clear browser cache.

    By the way: you are using an old version of the theme. Please update to Enfold v3.1.3.

    Cheers!
    Andy

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.