Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1275559

    Hello,

    We were looking for some changes in my header because we want the menu below and the logo left or right.
    I have found this page; https://kriesi.at/documentation/enfold/example-of-widget-left-logo-right-menu-below/

    When i follow the instructions on this page; https://kriesi.at/documentation/enfold/header/
    And additionally follow the this page

    My menu is going wrong and my logo is going to the left. When i add an image in the Widget Header the widget is above my logo and not right or left.

    Probably i am doing something wrong, but i cannot find what.
    Can you help me out?

    Kind Regards.

    #1275998

    Hey ZikomoWebdesign,

    Thank you for the inquiry.

    Did you add the css code provided in the documentation? The css code should allow you to move the position of the elements or change their order within the header.

    // https://kriesi.at/documentation/enfold/example-of-widget-left-logo-right-menu-below/#toggle-id-2

    Best regards,
    Ismael

    #1276025

    Hi Ismael,

    Yes i did exactly what the documentation says.
    Thats why I find it kinda strange that the whole page is flipping :-)

    I was hoping to get the same result as that example?

    What can I do to fix it?

    Kind Regards

    #1276216

    Hi,

    Thank you for the update.

    It is probably not working because the menu is positioned below the header. The Enfold > Header > Header Layout > Menu and Logo Position settings should be set to Logo left, Menu right.

    Best regards,
    Ismael

    #1276296

    Hi Ismael,

    Then i get the same result. widget is above logo and menu.

    Kind Regards.

    #1276306

    Hi,

    Thank you for the info.

    Are you sure that you have copied all of the css code from the documentation? Some of the styles are missing like the css that is supposed to be applied to the widget.

    Try to remove the previous css code and replace it with this one.

    // https://pastebin.com/vwtMD5zk

    Please do not forget to purge the cache and temporarily disable the Performance > File Compression settings.

    Or post the login details in the private field so that we could take a look in the dashboard.

    Best regards,
    Ismael

    #1276359

    Hi Ismael,

    I have changed the CSS still no difference.
    I have created an account for you, can you check it out?

    #1276678

    Hi,

    Thank you for the info.

    In the functions.php file, we just replaced the “ava_main_header” with the “ava_after_main_menu” hook to move the widget inside the proper container after the main menu. Please purge the cache or do a hard refresh before checking the page.

    Best regards,
    Ismael

    #1276748

    Hi Ismael,

    Great. That looks a lot better.
    Is is also possible to stretch the menu bar over the whole page now?

    Like in this screenshot? Screenshot

    Kind regards

    #1277060

    Hi,

    That should be possible with the following css code but you may need to also adjust the rest of the elements within the header container. Please look for the css using this selector..

    .responsive #top #header #header_main .inner-container .main_menu
    

    .. and add these properties..

    	position: absolute;
    	width: 110vw;
    	bottom: -30px;
    	left: -20vw;
    

    Or just use this css code.

    .responsive #top #header #header_main .inner-container .main_menu {
    	order: 3;
    	flex-basis: 100%;
    	align-items: center;
    	align-self: center;
    	height: inherit !important;
    	background: gold;
    	justify-content: center;
    	position: absolute;
    	width: 110vw;
    	bottom: -30px;
    	left: -20vw;
    }
    

    Best regards,
    Ismael

    #1282310

    Hi Ismael,

    Sorry for the late reaction! It works thanks! Can i ask you one last item?
    The menu is now stretched over the full length of the screen but not in line with the rest of the content?

    How can i change that?

    Kind Regards

    #1283040

    Hi,

    Thank you for following up.

    Try to replace the latest css code with this one to limit the width of main menu.

    .responsive #top #header #header_main .inner-container .main_menu {
    	order: 2;
    	flex-basis: 100%;
    	align-items: center;
    	align-self: center;
    	height: 42px;
    	background: #00607b;
    	justify-content: center;
    	position: absolute;
    	width: 100vw;
    	bottom: -25px;
    	left: 50%;
    	transform: translate(-50%, 0);
    }
    

    Then use this css code adjust the maximum width of the inner container.

    .responsive #top #header #header_main .inner-container .main_menu .avia-menu {
    	max-width: 1600px;
    }

    Best regards,
    Ismael

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