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, ...why is DNN soooooo difficult?why is DNN soooooo difficult?
Previous
 
Next
New Post
4/29/2009 6:16 PM
 

so far.....i have found DNN extremely un-intuitive. some basic questions:

i would think that most users of DNN would start by putting their logo in the logo area. so wouldn't the logical next step be to set the background of the logo area to match the background of the logo? but surprise surprise......this can not be done via the admin interface. even though there is an are specifically for the stylesheet....this one important item is not included. is it true that the only way to do this is to ftp the stylesheet and find the setting and change it and ftp it back? if so.....why?

how do you change the background color of the main content area? even though there is a setting in the stylesheet with the following comment and setting:

/* background color for the content part of the pages */
Body
{
    background-color: white;
    margin: 0px;
}

changing it does nothing. why???

(changing other settings on the same stylesheet does make changes)

what exactly does it mean when there are radio buttons which say ( ) site  ( ) host?

 

 
New Post
4/29/2009 6:37 PM
 

 James,

whether, where and how a logo is displayed depends on the skin applied to your site (or single pages). I suggest to get familiar with skinning for details.

Portal.CSS can be edited in Site settings or uploaded using FTP or else as you like.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/29/2009 7:09 PM
 

If you aren't already, I would suggest using Firebug for FIrefox to do your CSS development.  This will tell you exactly where you need to change your values.

In general, you put in new values into the skin.css file that goes with your skin.  You can overide most things (including background) in here.  Because DNN is a multi-portal solution, you shoudl be thinking about making changes at the portal and skin level, rather than at the DNN Core level. 

As for your logo : just use a transparent logo file (gif or png) and the background will come through correctly.

There is a bit of a learning curve when it comes to sknning, and it will never be as simple as a one-page .aspx page in a website.  That's because it is inherently flexible, and so each little piece is segmented to allow this flexibility.  If you just had one place to change the background, then you wouldn't be able to run 10 portals each with 5 pages with different backgrounds all on the one DNN install.

 
New Post
4/29/2009 7:26 PM
 

Sebastian Leupold wrote
 James,
whether, where and how a logo is displayed depends on the skin applied to your site (or single pages). I suggest to get familiar with skinning for details.

Portal.CSS can be edited in Site settings or uploaded using FTP or else as you like.



 
** nods agreement **   It can certainly be confusing at first but skinning in DNN is really pretty straightforward.  The hardest part of creating a skin tends to be styling whatever menu system you elect to use.
 
I realize you just want to modify whatever you are already using for a skin, but you really need to understand skinning to effectively modify an existing skin.
 
A few quick notes:
DNN truly (and effectively) utilizes Cascading Style Sheets.  There isn't just one place to edit CSS.  You have a default CSS file for the instance, a portal CSS file, a skin CSS file and possibly container CSS files and module CSS files.   (Not to mention that you can add more of your own if you really wanted to.)
 
Regarding the logo and logo area background color:  At some point you have to draw the line between what is an application setting (the logo path/filename) and what belongs in a CSS file (er...well...the CSS).  Not every skin may incorporate a LOGO (it's a "skin object"...look it up).  Because the LOGO skin object ties into the application and expects to find data in the database, the logo file info is included in the DNN application settings.
 
Regarding FTP of CSS files:  You can edit the portal CSS file through the interface.  This is one of the "lower" files in the CSS heiarchy -- it overrides the default CSS and the skin CSS.  As previously noted, there may be numerous CSS files depending on what you've employed on your particular portal.  DNN can't predict and account for everything -- if you need to change your skin then, yes, you'll need to edit it locally and then FTP it up (or use the built-in skin upload and parse function...your choice).
 
 
Once you've gotten an idea of how skin files are arranged it will make much more sense.  Track down a tutorial on creating a simple DNN skin from scratch and all should be made much clearer for you...

Good luck!
-mamlin


esmamlin atxgeek.me
 
New Post
4/29/2009 8:15 PM
 

If there is a body background defined in the skin you can overrule that with the site settings stylessheet (portal.css)

But you should use the correct CSS:

body
{
background:#F00 none;
}

Because the default skin has a background-image, changing only the backround-color does not help

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...why is DNN soooooo difficult?why is DNN soooooo difficult?


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