- This topic has 7 replies, 4 voices, and was last updated 5 years, 4 months ago by
Leo.
-
AuthorPosts
-
November 18, 2020 at 3:15 am #1535818
Noemina
Hi mates, can you please help me with a horizontal separator for the menu in this website?
https://noeminamelides.com/And another thing that I have no ideia how to go about it, (and if it is going to look good,) there’s any way to put this menu, the all background transparent until a person clicks on the menu icon or passes over it?
Thanks alot, Great Work
November 18, 2020 at 5:57 am #1535963David
StaffCustomer SupportHi there,
you can use this CSS to apply a color border to each menu item:
.main-navigation .main-nav ul li a { border-bottom: 1px solid #ddd; }In regards to a transparent background – i would advise against this from an accessibility point of view, as your background image will show through making the menu items harder to read.
November 29, 2020 at 11:43 am #1557041Noemina
That was great mate, but I miss understood the client, is just 1 bar from the tittle of the website to the menu like this store in the phone version of the website: https://theodorawarre.eu/
The ideia the the menu to be transparent only when it’s closed, and when it’s open the background goes to white. Any way I can do that?
Thanks for the help
November 29, 2020 at 4:28 pm #1557369Elvin
StaffCustomer SupportHi,
To clarify: You want to keep the white background on the header but make the expanding menu items transparent?
If so, you should be able to set the transparency settings of sub menu items’s background color on Appearance > Customize > Colors > Primary Navigation > Sub menu items.
There’s a alpha value slider on the color picker.
December 4, 2020 at 6:19 pm #1567993Noemina
First I would like a bar between the header and the expanding menu when the menu is open.
Second I would like to have the header transparent only when the menu is closed and when you open it it should change to white so I can see the menu clearly.
Thanks
December 5, 2020 at 5:27 am #1568314David
StaffCustomer SupportThat example site is using an Off Canvas Panel, which you can enable on GP:
https://docs.generatepress.com/article/off-canvas-panel-overview/
is that part of the requirement ?
December 7, 2020 at 1:04 pm #1570825Noemina
No, the menu needs to be the one It’s in use in noemina.com
December 7, 2020 at 5:08 pm #1570985Leo
StaffCustomer SupportAre you referring to a border like this?
https://www.screencast.com/t/impbMtYGeIf so this should work:
@media (max-width: 768px) { .main-navigation { border-bottom: 1px solid #000; } } -
AuthorPosts
- You must be logged in to reply to this topic.