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, ...Bootstrap Responsive Skin with Empty PaneBootstrap Responsive Skin with Empty Pane
Previous
 
Next
New Post
1/27/2014 11:33 AM
 

Hello,

I've been trying to implement bootstrap in our main skin... for the most part, it's been good.

The problem I'm having is I use a traditional three column layout that's roughly 200 | 600 | 200. Sometimes, a column is empty. When it is, in my old skin, I have the 600 just fill the space. 

With bootstrap's grid system, you can't really have an empty grid cell. They all seem to recommend having the code laying out the page just not create that column. But, I'm not sure how to do that in DNN. Presumably I could write a class to inherit the base skin class, but that seems messy and people recommend not doing it.

Does anybody have any recommendations or hints on how to handle this?

Thanks,

Mike

 
New Post
1/27/2014 11:36 AM
 
I would create "skins" that have 1 two or three columns that look the way you want them to look - and use the appropriate skin for the content that you have.

Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
1/27/2014 11:40 AM
 

Thanks Charles, that's an interesting idea... simple but useful.

Another quick thought I had was a custom skin object. I wonder if I could make one where I set the classes it should apply to which containers based on various contexts and then have it apply them. Maybe that's more trouble than it's worth though.

Mike

 
New Post
1/27/2014 11:44 AM
 

Not sure what your exact question is but did you notice that an empty pane has a class?

You can use it to set it to display:none on them if needed..

 
New Post
1/27/2014 11:45 AM
 
Probably more trouble than its worth :)

Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Bootstrap Responsive Skin with Empty PaneBootstrap Responsive Skin with Empty Pane


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