Tagged: 

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1263710

    Hello,

    Please advise how to create a customize header as shown on the attached image in private content.

    Thank you,

    Nik

    #1263711

    Sorry, forgot to mention that i am using enfold shop theme.

    #1264121

    Hello,

    Can someone respond?

    Thank you,

    Nik

    #1264471

    Hi,

    Sorry for the delay. There are a lot of header layouts available in the documentation including a modification where the logo is placed in the center and the main menu is set to the left. The only thing that is missing is the custom menu to the right of the logo, but you should be able to add those using widgets.

    Please check the following links for more info about the modifications.

    // https://kriesi.at/documentation/enfold/example-of-the-menu-left-logo-center-overflow-widget-right/
    // https://kriesi.at/documentation/enfold/header/#header-widget-position

    To add widgets to the header, please check this documentation.

    // https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area
    // https://kriesi.at/documentation/enfold/example-of-widget-left-logo-center-widget-right-menu-below/

    Best regards,
    Ismael

    #1264957

    Thanks, ismael. Will check your links out.

    Nik

    #1265259

    Hi Ismael,

    I tested the coding for this header layout:

    It worked on the desktop and tablet view, but not on mobile view. See attached images in private content.

    QUESTIONS:

    1) How do I align the logo with the left and right side?

    2) How to resolve the header for mobile view? The layer slider is blocked by the header. There is also a big white space between the right side and the enfold logo. The sticker header is not ignored on smartphone.

    Thank you very much for your help.

    Nik

    #1265731

    Hi,

    Thank you for the update.

    Where can we see the site? Please post the site or page URL in the private field so that we could check the layout.

    Are you familiar with css media queries? You should be able to adjust the default style on mobile view using css media queries.

    // https://www.w3schools.com/css/css_rwd_mediaqueries.asp

    Best regards,
    Ismael

    #1266221

    Hi Ismael,
    The test website link is in private content. What CSS code is needed to reduce the header white space and also stop the sticky header from scrolling on mobile view?

    Thanks,

    Nik

    #1266815

    Hi,

    Thank you for the link.

    The following css code should prevent the header from sticking on scroll on mobile view and remove the unwanted space inside the header container.

    @media only screen and (max-width: 767px) {
        .html_header_sticky.html_mobile_menu_tablet #top #wrap_all #header, .html_header_sticky.html_header_transparency #top #wrap_all #header, .html_header_sticky #top #wrap_all #header {
    	position: relative;
        }
    
        #menu-item-shop .cart_dropdown_link {
    	height: 30px !important;
    	line-height: 30px !important;
        }
    }

    Best regards,
    Ismael

    #1267376

    Hi Ismael,

    Thank you very much for the CSS coding. It works like a charm!

    The search icon with the dropdown search bar is missing on desktop and tablet views. I added the search widget to the header widget on the right side of the main menu. It took up a big space on the main menu.

    On mobile view the search icon appears fine with the dropdown menu. How do I get the search icon to appear the same as on mobile view.

    Any help is much appreciated.

    Nik

    #1267816

    Hi,

    You are welcome. Happy to help. The search icon is not displaying because of the following css code.

    #top #header .av-main-nav > li.menu-item {
    	display: none !important;
    }
    

    You have to add the following css code below the other to display the search icon back.

    #top #header .av-main-nav > li#menu-item-search {
    	display: block !important;
    }
    

    Best regards,
    Ismael

    #1268065

    Hi Ismael,

    Thanks so much for the coding. It worked. Issues resolved. You can close this thread.

    Cheers,

    Nik

    #1268212

    Hi Nik,

    Glad we could help :)

    We are closing the thread.

    If you need further assistance please let us know in a new one.
    Best regards,
    Victoria

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Custom Header’ is closed to new replies.