Archived

This topic is now archived and is closed to further replies.

  • 0

sidebar is on top of content in mobile view


Question

Posted · Report post

In mobile view the sidebar doesnt show up on the side it is actually overlayed on the site. Is there any possible help on this issue?

Share this post


Link to post
Share on other sites

16 answers to this question

Posted · Report post

with either option this does not solve this issue. That menu is below the content while the seach is on the correct side. I thought the theme was responsive?

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, responsive design will stack the elements on top of one another in that way. I can ask the developers if there is a way to disable this, but as it currently stands the menu is in the sidebar so it will automatically go under the main page content.

I don't think there's a quick Css fix for this as this is how the responsive design has been set up. You might be able to change the stack order though. I'll ask for you though and someone will post an update on this thread shortly.

Share this post


Link to post
Share on other sites

Posted · Report post

no it didnt, I switched mobile off and looked at it and the menu was still under the content. I then changed the menu back to fixed and it is now overlayed over the content so neither option seemed to have worked.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

PageLines Framework is responsive however, you first made changes to the way the sidebar displays by positioning it in a fixed postion. Fixed means fixed, regardless of screen resolution, device or browser, if you set an element on your site to fixed it will be fixed.

Now, I you have me completely confused as you say you want to disable mobile view but in your last post, you say this "I thought the theme was responsive?". So which is it, do you want a static width website meaning that if your site was viewed on a iPhone, the users would need to zoom in to read text and then scroll left or right to view other parts of your site or do you want a responsive site ?

Can you please confirm which and we will be able to assist you further.

Share this post


Link to post
Share on other sites

Posted · Report post

yeah you are correct, I just made it static and now the sidebar is in the correct place. I guess thats what they will have to have as the option other than responsive. So what would be the other option here? Making the site width smaller to fit a smart phone screen?

Share this post


Link to post
Share on other sites

Posted · Report post

Couldn't one just override whatever function outputs the sidebar and main code, and just switch the order in which they get output? I have been looking around and haven't been able to find the function, but surely one exists.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, we're unable to support any changes to the core files, but you can turn off the mobile display in Pagelines>site options>layout editors so it will display in the same setup as the desktop view. This way it won't stack the elements.

Share this post


Link to post
Share on other sites

Posted · Report post

I had made the menu unfixed so that it scrolls and with doing that the menu was not overlayed on the content as before but was under the main content so neither solution got the menu where it it suppose to be. Im fine with having them zoom in if the menu bar can stay fixed as they want this for their site. Right now neither works for me so I will go with whichever works. Currenty when looking at it with a unfixed menu this is what I get.

mobile_view.jpg

Share this post


Link to post
Share on other sites

Posted · Report post

thanks but I changed it and now it works but showing under the main content and not on side. The client wants the menu bar fixed, can I do this while having it look correct or is there some give and take?

Share this post


Link to post
Share on other sites

Posted · Report post

If you disable mobile view this should resolve your issue. To disable Mobile view, go to Wordpress Admin Dashboard > PageLines > Site Options > Layout Editor, scroll down until you see "Disable Mobile Optimized View". Check this and save your settings, then review your site and see if this resolves your issue.

Share this post


Link to post
Share on other sites

Posted · Report post

If you shrink the site size to fit one mobile device, you're going to consistently be faced with resizing for different devices. It may look great on an iPhone, but then what happens on a Samsung, a Kindle, a Nook? And so on. And if it's small, how will it appear to those on wide-screen laptops or even Internet connected 60" televisions?

We provide http://pagelines.com/store/plugins/browser-css which will allow you to set CSS on a browser basis. This might help.

Share this post


Link to post
Share on other sites

Posted · Report post

I don't think there's a quick Css fix for this as this is how the responsive design has been set up. You might be able to change the stack order though. I'll ask for you though and someone will post an update on this thread shortly.

 

Hi,

 

Just joining this thread to ask whether you checked whether the stack order could be changed as I'd like to know.

 

Thanks.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

From the Looks of it you have your sidebar set to position:fixed, this is most likely the cause of the issue. Remove this custom CSS and then view your site again.

Share this post


Link to post
Share on other sites

Posted · Report post

Anyone have an idea on whats going on here? I am just using a basic sidebar and the menu is displaying under the content. I am not sure of whether to start a new topic or wait for help on this one as its been a minute and I need to find a solution for thie project. Any help would be appreciated.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, I've asked this recently and at the moment there are no options to change the stack order unfortunately. This could be something that Pl would look into at a later date, it has been suggested :-)

Share this post


Link to post
Share on other sites

Posted · Report post

This is actually how responsive works, across the board. There's a new CSS spec in the works called CSS Regions, where we can actually define where items end up when viewed on small screens. However right now browsers don't support it, so until they do, there's really nothing that can be done....for the most part.

 

You *can* do some trickery with css, by absolutely positioning the sidebar with a media query, giving it a top:0, and forcing #page or #site down with margin-top: whatever. But right now we're at the mercy of the browser.

Share this post


Link to post
Share on other sites