Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Hide a pane in mobile view?Hide a pane in mobile view?
Previous
 
Next
New Post
7/16/2014 4:51 PM
 

Hi DNNfriends,

I am currently developing a website for the local bus here in our home town, and I found a minor useability issue. In mobile view, the maps in schedules on  http://bus.find8dev2.com/Maps-Schedules this page display UNDER the search navigation for that page. Does anyone know of a way where I can "hide" the blue box on that page in mobile view? I know this is possible in other CMS but was curious about how to integrate this into the DNN environment. 

Any tips or feedback is appreciated. 

 
New Post
7/17/2014 4:03 AM
Accepted Answer 

Hi,

Considering that you are using a Bootstrap skin one option is to edit the skin file, find the pane where the box box sits in then use the Bootstrap Responsive utilities (i.e '.hidden-xs' etc).

When someone views the site on a mobile this pane will then be hidden. The draw-back to this solution is that ALL content using that pane will be hidden on a mobile device.

Another option is to have a look at DnnSharp's 'Easy Container' found here. This module has responsive capabilities which means that via the module you can specify where to display that module on mobile (or any other device size). This way you overcome the problem of option 1. the draw-back is that you will have to buy this module.

Hope this helps,

Regards,

Geoff


      
 
New Post
7/17/2014 4:26 AM
 
Findeight.com wrote:

Hi DNNfriends,

I am currently developing a website for the local bus here in our home town, and I found a minor useability issue. In mobile view, the maps in schedules on  http://bus.find8dev2.com/Maps-Schedules this page display UNDER the search navigation for that page. Does anyone know of a way where I can "hide" the blue box on that page in mobile view? I know this is possible in other CMS but was curious about how to integrate this into the DNN environment. 

Any tips or feedback is appreciated. 

 You could use our free StyleHelper skin object to hide controls for Mobile.

https://stylehelper.codeplex.com/

Help text:

Remove Control
This will hide the control based on its server id (the ID in the ascx file).
Can be used to remove for instance a pane, based on one of the conditions. RemoveControl="RightPane" will remove the RightPane from the page source.
Multiple ID's can be passed like this: RemoveControl="BottomPane||RightPane"

Example:
<%@ Register TagPrefix="fortyfingers" TagName="STYLEHELPER" Src="~/DesktopModules/40Fingers/SkinObjects/StyleHelper/StyleHelper.ascx" %>

<fortyfingers:STYLEHELPER ID="SH1" IfMobile="True" RemoveControl="LeftPane" runat="server" />

This will remove the control when a mobile user agent is detected, so with a desktop browser nothing will happen.
I test it with user agent switcher for Firefox.

 
New Post
7/17/2014 9:15 AM
 
Try to add this in your css file:
@media all and (max-width:480px){#Pane-Padding col-sm-4{display:none;}}
 
New Post
7/17/2014 9:36 AM
 

@Khalili, the solution you provided is the same as placing the 'hidden-xs' tag to the class of the pane in the skin. ;-)

I think the best option would be to install the "StyleHelper" that Timo suggested, you solve 1 problem (hiding a pane for example) but have a solution for many more.

If the person does not want to install the module the next best thing is to add the 'hidden-xs' tag, allot easier than editing the css if the person is already using bootstrap as a framework.

More information about the bootstrap utilities can be found here.

Regards,

Geoff.


      
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Hide a pane in mobile view?Hide a pane in mobile view?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out