-
AuthorPosts
-
April 25, 2016 at 10:03 pm #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ß
AnnaApril 27, 2016 at 2:00 pm #623064Hey 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,
YigitApril 27, 2016 at 3:23 pm #623147Hey Yigit,
so I did.
Regards,
AnnaApril 30, 2016 at 8:14 am #624891Hi,
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,
IsmaelApril 30, 2016 at 2:34 pm #625022Hi 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,
AnnaMay 3, 2016 at 6:19 am #626204Hey!
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,
IsmaelJune 18, 2016 at 12:03 am #650037Hey Ismael,
thanks for your solution. Unfortunately the customer meanwhile changed his mind…
Best regards,
Anna ChristinaJune 20, 2016 at 5:21 am #650592Hi,
I’m not sure what you mean by that, what does your customer like instead?
Best regards,
RikardJune 21, 2016 at 7:23 pm #651660Hi 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 ChristinaJune 23, 2016 at 5:26 am #652464 -
AuthorPosts
- You must be logged in to reply to this topic.