- This topic has 9 replies, 3 voices, and was last updated 1 year ago by Tom.
March 27, 2020 at 12:47 pm #1212368Sumit
Hi I have this fluctuation issue on a website I am working. Please try to navigate to different pages from top navigation bar and you will notice how the top navigation gets deformed and form again during the page load.
My developer is saying that is happening due to the sidebar. Sidebar is being created with sections and he says I need a plugin like advanced custom field to make this work smooth.
I am sure there must be a way for me to resolve it without involving another plugin.
I was wondering what you guys think about it?
Looking forward to hear from you.March 27, 2020 at 4:12 pm #1212486LeoStaffCustomer Support
Any reasons why the sidebar is created with a section?
You can actually allow sidebar with Sections using this filter:
https://docs.generatepress.com/article/generate_sections_sidebars/March 27, 2020 at 4:59 pm #1212501Sumit
The reason we are using page sections to do that is becaue it is part of the page. If we were to use widgets to do that it will be really hard to manage it all.
And as you can see that sidebar has a functionality that takes user to the right section of the page once you click on it.
I shared that link with developer and he said that function is for dynamic sidebar and we are in need of creating a static sidebar. Whatever that means.
Can you help me out wit this?March 27, 2020 at 5:15 pm #1212511LeoStaffCustomer SupportMarch 27, 2020 at 5:18 pm #1212518Sumit
are you 100% sure I will be able to create current sidebar with same functionality with the solution you suggested?March 27, 2020 at 5:22 pm #1212522LeoStaffCustomer Support
Your site is basically completely custom coded with over 5000 lines of CSS by the developer so at this point I would go with the advanced custom field he is suggesting instead of re-doing the sidebar functionality.
There isn’t any built-in solution that would help with this unfortunately.March 27, 2020 at 5:33 pm #1212529Sumit
This does not answer my question, if the functionality exist in the theme there should not be any need to involve other plugin.
There is no limit on amount of plugins one can use on a wordpress site and I wish to minimize that number rather than bloating the website by adding plugins that are not 100% necessary.
Come to think of it, I have never really had any problem with this layout until recently I updated the generatepress. It started breaking recently when I updated generatepress products.
I request you to please take a good look at what might be causing it. If my developer had a solution for it, I would not be contacting support.March 27, 2020 at 5:53 pm #1212538TomLead DeveloperLead Developer
I’m curious as to why they think it’s the sidebar? Does the issue go away if you remove the sidebar?
To me, it looks like the sub-menu is visible while it’s loading, then it hides. That’s causing the weirdness you’re seeing.
It also looks like the menu item text is starting out larger, then it’s decreasing in size once the CSS loads.
Does the first issue continue if you temporarily disable the sub-menu?
It’s also worth noting that the header and navigation are 100% custom code, they aren’t using GeneratePress code at all, so it’s very unlikely a theme update would affect it. It’s very difficult for us to debug and support custom solutions like this that aren’t actually using the theme’s code.
Hopefully the above helps you debug a little further.March 27, 2020 at 6:12 pm #1212546Sumit
Thanks Tom, Looks like menu itself was a problem. I also thought same, how sidebar can be causing this when there is no problem with the sidebar itself.
Now see the there is fluctuation issue with the buttons, which I assume would be due to the issues with button’s css itself.
I had no idea he was running with complete custom code. I specifically told him to use generate press to modify and create these things, I would assume he should have been using generate press to create something like menu at-least.
This bring me down to few burning questions.
1. Is it possible to create such a website layout by staying within generatepress ecosystem and not having to make custom solution.
2. If he made the whole thing as a custom solution how come an update in generatepress can be causing this issue, because I would assume whatever custom code he did would be completely independent of generate press itself. If not what make the code rely on generatepress so an update could break it.
Thank you.March 28, 2020 at 11:28 am #1213297TomLead DeveloperLead Developer
1. You could easily create that header in GeneratePress, there’s no need for the custom solution. In fact, you likely wouldn’t need any custom code at all.
2. I’m not sure, it depends on how he did the customizations. The latest update to GP didn’t have any coding changes on the frontend of the theme – all of the changes were in the block editor.
- You must be logged in to reply to this topic.