Tagged: x
-
AuthorPosts
-
November 3, 2016 at 9:12 am #1242367
taxwebmasterParticipantHi. Here’s my setup:
I’m using a plugin called Custom Sidebars to put a sidebar wherever I need.
I put a vertical Ubermenu inside a custom sidebar to use as a left side menu
I have a regular page (not Cornerstone) with text on the right.It all works as it should until I shrink down the page enough for the Ubermenu responsive hamburger menu to appear. Instead of appearing above the content, it appears below it, which obviously won’t work because people won’t see it. Is this a common problem with an easy solution? Or do you think it might be related to the Custom Sidebar plugin?
I’m sorry I can’t give you a link to the page and I can’t give you login info (it’s on a private dev server, and it’s for a government agency with strict access controls.) But here are a few images that might help.
One shows the page in normal view
Two shows the page in narrow responsive view
Three shows the code, which I notice has the <div class=”x-main right> ABOVE the <aside class=”x-sidebar left>I’m running the latest versions of WP, X, Ubermenu, and my third-party Custom Sidebars plugin.
November 3, 2016 at 9:17 am #1242370
taxwebmasterParticipantThis reply has been marked as private.November 3, 2016 at 10:19 am #1242513
ChristianModeratorHey there,
It sounds like you might be having an issue with a third party plugin (Custom Sidebars). Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.
Thank you for your understanding.
November 3, 2016 at 10:36 am #1242531
taxwebmasterParticipantThanks for the quick response. I disabled the third-party plugins to test. So I’m not using Ubermenu or Custom Sidebars plugins. However, I’m getting the same problem: when the page is shrunk down or viewed on a mobile device, the menu in the sidebar appears below the rest of the main content. So it appears that it wasn’t a plugin problem. Do you have any additional suggestions? And sorry again that I can’t give you a login to my site.
November 3, 2016 at 11:34 am #1242608
JadeModeratorHi there,
We could try adding a CSS code that target the burger menu so that it will display on the right but we will need to have the at least the URL of your site so that we could check the correct CSS selector for the burger element. You may set your response private so that it will only be visible to the staff.
Thank you.
November 3, 2016 at 12:06 pm #1242659
taxwebmasterParticipantUnfortunately, you can’t even get to our site outside our building even if I gave you the URL. But here’s a screenshot of the code in question. I think the selector is probably aside.x-sidebar.left
Thanks again.
November 3, 2016 at 7:16 pm #1243059
RadModeratorHi there,
I’m trying to understand the cause based on your given information. But I can’t think any possible cause why it appears within the sidebar structure. Do you have custom javascript? It’s too far from the header, and the sidebar is a placement for widgets unless you added it as a widget?
I can only fully check it if I could see your live URL.
Thanks!
November 4, 2016 at 8:55 am #1243743
taxwebmasterParticipantAgain, I’m sorry I can’t show you the live URL. The new dev site I’m working on is not accessible outside our firewall—not even for me, and I’m the developer! Only our old Joomla site is visible.
Yes, it’s a custom menu in a widget. Maybe that’s the cause. So maybe I’ll ask this: I did it this way because I’ll have many custom menus on different pages throughout the site. It’s a big informational site (over 100 pages) and each section has its own sidebar menu. For that reason, I can’t just have one common menu in the sidebar for all pages. So can you suggest a way using the Renew stack that will allow me to have at least a dozen different sidebar menus, all of which appear on different pages throughout the site?
The only way I could figure out how to do this was to put custom menus in widgets, then place those widgets on various pages. If there’s an easier way, I’d love to hear it. (This is one area where Joomla, despite all its warts, worked a little better.)
Thanks again.
November 4, 2016 at 4:07 pm #1244322
Nabeel AModeratorHi again,
Try adding the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
.ubermenu-skin-clean-white.ubermenu-responsive-toggle:hover { background: transparent !important; } .ubermenu-skin-clean-white.ubermenu-responsive-toggle { font-size: 20px !important; text-align: center !important; } @media screen and (max-width: 979px) { .masthead-stacked .x-btn-navbar { display: none !important; } .x-nav-wrap.mobile { display: block !important; } }Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!
November 7, 2016 at 11:00 am #1247352
taxwebmasterParticipantThat targeted the top (main) menu, and opened it up when on a small screen width. It didn’t affect the sidebar menu. It’s the sidebar menu that I’m having problems with. See the attached which shows the full-size screen, and the narrow-width screen. It’s the light blue hamburger menu at the bottom of the narrow-width screen that should be appearing above the content. Thanks again.
November 7, 2016 at 11:26 am #1247394
taxwebmasterParticipantHere’s what I think is the problem: the sidebar is loading AFTER the main content, so when the screen is small, the hamburger menu appears below the content. Please look in the screenshot I’ve provided. The highlighted <aside class=”x-sidebar left”> should be ABOVE the <div class=”x-main right” role=”main”>.
Where in the renew stack can I re-arrange that?
(PS: I’m not an expert, but I’m fairly advanced in this; I’m not using a shared hosted account; this is running on our own server and I have full access to the server and can edit code as needed.)
Thanks again for all your help.
November 7, 2016 at 2:52 pm #1247659
JadeModeratorHi there,
You could override it through child theme. The file is wp-index.php which you can find in /wp-content/themes/x/framework/views/renew/.
Hope this helps.
November 7, 2016 at 4:25 pm #1247745
taxwebmasterParticipantThanks a lot, that worked! I edited the files in the child theme. For some reason, I needed to edit wp-page.php and template-layout-sidebar-content.php rather than wp-index.php. But in any case, it works now. I appreciate your help.
November 7, 2016 at 4:29 pm #1247749
taxwebmasterParticipantThis reply has been marked as private.November 7, 2016 at 10:09 pm #1248116
Nabeel AModeratorHi again,
I’ve made your post private. We’re glad we could help you 🙂
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1242367 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
