- This topic has 12 replies, 3 voices, and was last updated 5 years, 5 months ago by
Elvin.
-
AuthorPosts
-
October 29, 2020 at 11:29 am #1510000
Ketil
Hello. Thought I’d use “Sider” for a project where a sidemenu would be convenient. The sidebar-menu doesn’t look right (order of objects and layout), what could be the problem?
October 29, 2020 at 2:44 pm #1510208Elvin
StaffCustomer SupportHi,
For starters, can you check if your site is using flexbox?
To check, go to Appearance > Customize > General and change the structure dropdown to flexbox.
More about flexbox: https://docs.generatepress.com/article/switching-from-floats-to-flexbox/
Note: This is only available on GeneratePress v3 or newer.
October 29, 2020 at 3:04 pm #1510229Ketil
updating theme fixed it, thanks.
October 29, 2020 at 3:20 pm #1510247Elvin
StaffCustomer SupportNice one! No problem. 🙂
October 29, 2020 at 3:34 pm #1510260Ketil
Fitting wider menu-elements needs to be done by CSS, I assume? this site has some long link descriptions.
Is there setting to keep second level open when a second level page is open?October 29, 2020 at 3:50 pm #1510274Elvin
StaffCustomer SupportFitting wider menu-elements needs to be done by CSS, I assume? this site has some long link descriptions.
True. You may to playaround with properties like min-height or word-break along with setting the
li.menu-itemtodisplay:flexso you could usealign-content:centerin some cases.October 29, 2020 at 4:04 pm #1510287Ketil
Is there a way to filter frontpage posts by category?
October 29, 2020 at 4:09 pm #1510290Elvin
StaffCustomer SupportIs there a way to filter frontpage posts by category?
As this is a completely separate issue from the original topic, can you open a new one for this?
We’ll make sure it gets addressed. Thank you.
October 29, 2020 at 4:26 pm #1510303Ketil
it’s ok, I’ll figure it out
November 11, 2020 at 9:44 am #1527161Ketil
Didn’t find out about second level staying open, it would be convenient when menu is in the sidebar.
Is there a way, or do I need a different menu for this?November 11, 2020 at 1:18 pm #1527426Tom
Lead DeveloperLead DeveloperHi there,
I’m not too sure what you mean – can you explain a bit more?
November 11, 2020 at 3:02 pm #1527522Ketil
I want to see the second level of the menu folded out when a page from second level is the active one.
In example from private information, the page in link is on second level, but the menu only shows first level links. Is there a way to have the second level open when a second level-page is active?November 11, 2020 at 9:10 pm #1527690Elvin
StaffCustomer SupportThis will need customized script which is out of our scope of support.
But for the sake of helping you out, try this vanilla JavaScript code:
https://pastebin.com/raw/NQppSjWQ
Add this to your site’s footer.
Let us know if you need further help.
-
AuthorPosts
- You must be logged in to reply to this topic.