Tagged: 

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

    Hi, I created a button on the header (adding the style.php, functions.php and the widget) but it overlapping and creating an static menu. Can you please provide me guidance ?

    I am using this article but I need something like the restaurant header.

    Thank you !

    G

    • This topic was modified 2 years, 11 months ago by aruizhuidobro.
    #1330222

    Hi aruizhuidobro,

    The Enfold Restaurant Header doesn’t need to use the Header Widget Area, you just need to go to Appearance > Menus, then expand the menu item and you’ll see Menu Style and set it to Button Style (Bordered).
    Hope it helps.

    Best regards,
    Nikko

    #1330371

    Hi Nikko, thanks for the reply. I dont see under menu. Can you guide me ? Maybe the custom link ?

    current view

    #1330372

    I added an additional link under custom link and selected the style as button but I dont see it on manu… :(

    http://c2350005.ferozo.com/header_button.png

    link to the image.

    #1330544

    Hi aruizhuidobro,

    Thanks, I have modified it, please review your site.
    You don’t need to go to Customize, go directly to Appearance > Menus and you’ll see it show up :)

    Best regards,
    Nikko

    #1330635

    Thank you Nikko, it looks perfect. One more question. Can I make the button full height of the title ? I am not able to find the way.

    #1330660

    Hi aruizhuidobro,

    Can you try adding this CSS code in Enfold > General Styling > Quick CSS:

    #top #wrap_all #header .av-menu-button a {
        height: 100% !important;
    }
    
    #top #wrap_all #header .av-menu-button a .avia-menu-text {
        display: block;
        padding: 0 16px;
        border: 0;
        border-radius: 0 !important;
    }

    Best regards,
    Nikko

    #1331057

    Hi Nikko, I added the code on quick CSS plus width 100% trying to get the rest of the space on the right but is not working… how can I make it like the same without white on the right ? Thanks ! G

    #top #wrap_all #header .av-menu-button a {
    height: 100% !important;
    width: 100% !important;
    }

    #top #wrap_all #header .av-menu-button a .avia-menu-text {
    display: block;
    padding: 0 16px;
    border: 0;
    border-radius: 0 !important;
    }

    #1331072

    Hi aruizhuidobro,

    Please try adding this CSS code:

    #header_main {
        border: 0;
    }

    Best regards,
    Nikko

    #1331386

    Hi Nikko, I added that on the styles and I still see white on the right.

    http://c2350005.ferozo.com/g/images/button_border.png

    #1331574

    Hi,
    Thank you for the screenshot, when I check your button I see two issues, in this screenshot you see the green area is the right padding from the button and the white area is from the av-logo-container only has 96% width:
    2021-12-04_005.jpg
    so to remove the right padding from the button use the css:

    #menu-item-535 > a {
    	padding-right: 0;
    }

    to give av-logo-container 100% width, use this css:

    .html_header_top #top .av_header_stretch .container {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }

    then your button will be all the way to the right, but your logo will also be all the way to the left unless you add the css:

    .logo.avia-standard-logo {
        padding-left: 20px;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1331661

    Thank you Mike ! You can close this one !!!

    #1331668

    Hi,

    Great! Glad we could be of help. Please feel free to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Button on header issue’ is closed to new replies.