Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #621710

    Hi Enfold Support Team,

    ich hätte gerne die Positionen für Haupt- und Servicenavigation auf der Seite (siehe Link) wie folgt:
    – im Header oben ein Farbbalken mit Telefonnummer und Servicenavigation
    – darunter nur das Logo, links positioniert
    – in der Sidebar links das Hauptmenü

    Das müsste sich doch über ein Widget und eine CSS-Anpassung umsetzen lassen?
    Ich habe ein Scribble erstellt – Dropbox-Link anbei.

    Gruß
    Anna

    #623064

    Hey Anna Christina!

    Please go to Enfold theme options > General Layout and choose to display your header on the left side and then let us know

    Regards,
    Yigit

    #623147

    Hey Yigit,

    so I did.

    Regards,
    Anna

    #624891

    Hi,

    Add this in the Quick CSS field:

    .html_header_left #main {
        margin-left: 0;
    }
    
    .header_color .header_bg {
        background-color: transparent;
    }
    
    .html_header_sidebar .logo {
        border: 0;
    }

    Edit header.php file, look for this code around line 83:

    
    <div id='main' data-scroll-offset='<?php echo avia_header_setting('header_scroll_offset'); ?>'>
    

    .. below add this code:

    
    <div class="top_header">Phone info: 1232423</div>
    

    Use the Quick CSS field to adjust the style of the top_header container.

    Best regards,
    Ismael

    #625022

    Hi Ismael,

    thanks for your hints. I added the code to the Quick CSS field and to the header.php. But how to insert a menu in the top_header?

    Best regards,
    Anna

    #626204

    Hey!

    I forgot about the menu. Please add this code:

    		<?php
    
    		//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;
    			echo '</nav>';
    
    		?>

    Create a new menu in the Appearance > Menus panel then set it as secondary menu.

    Best regards,
    Ismael

    #650037

    Hey Ismael,

    thanks for your solution. Unfortunately the customer meanwhile changed his mind…

    Best regards,
    Anna Christina

    #650592

    Hi,

    I’m not sure what you mean by that, what does your customer like instead?

    Best regards,
    Rikard

    #651660

    Hi Rikard,

    the customer decided to have a vertical menu for the landing page and a horizontal menu for the shop – see links below. I’m still working on both of them. A landing page announcing the shop is already live (3rd link).

    So I think, my issue is resolved.

    Best regards,
    Anna Christina

    #652464

    Hi,

    Ok great, please let us know if you should need any more help on the topic.

    Regards,
    Rikard

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