- This topic has 36 replies, 3 voices, and was last updated 3 years, 10 months ago by
David.
-
AuthorPosts
-
July 7, 2021 at 4:50 pm #1848298
Ying
StaffCustomer SupportIt’s very difficult to write CSS without seeing the live site since everyone has different settings for header/navigation.
If you can set up a staging site we would be more than happy to help.
October 26, 2021 at 2:04 am #1975542Loïc
Hello,
Here is the url of the staging server. AS you can see I cannot find how to set the element with the three social icons at the extreme right of the main menu (in red). There are two icons I need to remove on that bar ….
October 26, 2021 at 4:40 am #1975684David
StaffCustomer SupportHi there,
before we review the options, one question – what will happen to the Red Bar on Mobile ? As currently it doesn’t fit on mobile.
October 26, 2021 at 6:42 am #1975792Loïc
I have not thought about mobile … – what do you suggest ?
October 26, 2021 at 7:50 am #1976083Loïc
Can you please send me these options you suggested ???
October 26, 2021 at 8:44 am #1976313David
StaffCustomer SupportOk so lets try this:
1. Remove the widgets from the top bar – this will remove the Top bar.
2. Add your menu ( from the Red top bar ) to the Secondary Navigation location.
3. Set the Secondary Nav location to Above header and set your colors etc.
4. Now for your Block Element set its Hook toinside_secondary_navigation
Once its there i can look at the CSS required to position them.
October 26, 2021 at 11:17 am #1976471Loïc
OK – I also wanted to put search in the right sidebar but it did not work …
October 26, 2021 at 3:47 pm #1976863Loïc
I did as you suggested but it broke the conditional menu that was in the right side bar …
October 27, 2021 at 12:34 am #1977428Loïc
Hello,
I was thinking maybe I have too many menus for the theme and only one of this menu is dynamic so i can turn them into elements to display ?
First menu is category menu – fixed links to categories (grey)
I have a conditional menu that shows up the menu corresponding to the category (10 sub menus) in the left sidebar (black)
Last menu is a thema menu – fixed links to pages (red)
October 27, 2021 at 2:21 am #1977644Loïc
Hello,
Can you please follow up on that ?
October 27, 2021 at 4:15 am #1977844David
StaffCustomer SupportAah… sorry i didn’t spot the secondary menu in the sidbar.
In that case it may be best to put the site back how you had it for your Primary and Secondary ( sidebar ) Nav.
Then remove the widgets from the Top Bar.
And now create your won Top Bar in a Block Element, set to hook:
before_header
For the block editing:1. Add a Container Block. Set the Background color (Red), in Advanced > Additional CSS Class(es) add:
custom-top-bar
– this is your new Top bar.
2. Inside the Container use a Grid Block 2 column – 1 column for the menus. 1 column for the social shares.3
3. Create the menus and the social shares using Buttons Blocks.October 27, 2021 at 6:24 am #1978086Loïc
Thanks – it seems to work but I need help to round the social icons and center the left menu. Also I cannot turn this into a real menu with sub items ??. I dont understand why it is not possible to add any menu as a block … Is it a limitation of the theme?
. ThanksOctober 27, 2021 at 6:39 am #1978131David
StaffCustomer SupportAah… didn’t realise you needed sub menus… i thought these were Top Bar links ?
The Navigation Block is a core WordPress block currently under devlopment outside of wp.com , it won’t be implemented until WP 5.9 ( maybe ).
Which menus require sub menus ? Does the top grey bar menu require them too ?
October 27, 2021 at 7:17 am #1978208Loïc
Hello. Happy to hear that more blocks are coming. No the grey does not so I will exchange the grey menu for elements and keep the red menu as primary menu. However, there is only room on that menu. Please let me know then how to add that social element container in the menu …
October 27, 2021 at 8:36 am #1978796David
StaffCustomer SupportSo you can use the
menu_bar_items
Hook to add the social icons to your Primary ( Red ) Navigation. -
AuthorPosts
- You must be logged in to reply to this topic.