Tagged: header button
-
AuthorPosts
-
November 23, 2021 at 2:36 pm #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.
November 24, 2021 at 4:40 am #1330222Hi 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,
NikkoNovember 25, 2021 at 1:13 am #1330371Hi Nikko, thanks for the reply. I dont see under menu. Can you guide me ? Maybe the custom link ?
November 25, 2021 at 1:14 am #1330372I 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.
November 26, 2021 at 7:28 am #1330544Hi 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,
NikkoNovember 26, 2021 at 9:31 pm #1330635Thank 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.
November 27, 2021 at 6:55 am #1330660Hi 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,
NikkoDecember 1, 2021 at 12:42 am #1331057Hi 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;
}December 1, 2021 at 3:52 am #1331072Hi aruizhuidobro,
Please try adding this CSS code:
#header_main { border: 0; }
Best regards,
NikkoDecember 3, 2021 at 4:23 am #1331386Hi Nikko, I added that on the styles and I still see white on the right.
December 4, 2021 at 9:22 pm #1331574Hi,
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:
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,
MikeDecember 6, 2021 at 6:00 am #1331661Thank you Mike ! You can close this one !!!
December 6, 2021 at 6:57 am #1331668 -
AuthorPosts
- The topic ‘Button on header issue’ is closed to new replies.