Mobile only wrapper still visible

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
10/18/2013 7:19:39 PM
Gravatar
Total Posts 212
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Mobile only wrapper still visible

Hey Joe,

So on a site I'm working on I have an html content instance in the left pane of the site that I only want to publish on mobile. I set it up to publish mode mobile only, and it's hidden on desktop.

The problem now is that the left pane wrapper is still visible. I mean the part generated by the LayoutPanel in the layout.master. No other content is in that pane, and none of the interior wrappers are visible, just an empty div with the classes for the left pane that I set in the theme.skin. Because I'm using a grid this seriously jacks up my site on desktop, there is a giant empty space where the left pane would sit if there was content in it.

It also moved the center classes over to center-rightandleft just like if there was content in the left pane (I have desktop-visible content in the right pane already). I tested this on the mojo demo site and had the same issue.

Do you know any way to fix this?

Thanks,
-Isaac

10/21/2013 12:42:32 PM
Gravatar
Total Posts 18439

Re: Mobile only wrapper still visible

Hi Isaac,

I will investigate this as a bug.

But to me it seems like the most common scenario is don't use the left column for mobile only (unless there is some parallel desktop only version also in the left column) since typically there is not going to be column layout on mobile, content specifically targeting mobile should usually all be in the center column and usually desktop content from the sides would either flow below the center in the mobile skin or be marked as desktop only in some cases to remove the content from the smaller view. It seems kind of weird to have a mobile only content in the left column on page that has no left content on the desktop view of the same page. The problem can easily be avoided it seems to me. 

Best,

Joe

10/21/2013 12:51:00 PM
Gravatar
Total Posts 212
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Re: Mobile only wrapper still visible

Hey Joe,

I thought of that, actually, but in this case we have content that is the same except visually very different on desktop and mobile, and so we had to change some of the markup to make that happen. The problem normally isn't noticeable, but if you have a page where you want that content to show on mobile but not on desktop it becomes a problem.

I was worried that moving it to the center would confuse our client. I think it's something that can be easily explained though, so it'll be okay. Would you let me know if you do change it, though?

Thanks!
-Isaac

10/21/2013 1:19:00 PM
Gravatar
Total Posts 18439

Re: Mobile only wrapper still visible

Hi Isaac,

Just fixed it in my copy so it will definitely be fixed in the next release. I've got some other things to finish before I can push it to the repository but it will be fixed in there fairly soon.

Best,

Joe

10/21/2013 1:34:43 PM
Gravatar
Total Posts 212
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Re: Mobile only wrapper still visible

Sweet, thanks!

You must sign in to post in the forums. This thread is closed to new posts.