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, ...Changing my Footer in skin.cssChanging my Footer in skin.css
Previous
 
Next
New Post
5/25/2012 4:55 PM
 

I am using the default DarkKnight skin that comes with DNN but I have been trying to make a couple of changes. One of them is to the footer.

 The code in skin.css that refers to the footer is below:

#Footer{min-height:45px;width:100%;background: url(images/Footer-BG.jpg) repeat-x 0 0;}
    #Footer .Content{width:960px;margin:auto;padding:30px 0 0 0;}
    #Footer .Content .Panes{padding:0 0 45px 0;}
    #Footer #dnn_Footer_LeftPane{width:470px;float:left;margin:0 20px 0 0;}
    #Footer #dnn_Footer_RightPane{width:470px;float:left;}
    #Footer #dnn_Footer_BottomPane{clear:both;}
    #Footer #Copyright{clear:both;height:50px;width:960px;border-top:4px solid #333333;line-height:46px;}
    #Footer .Normal{color:#e5e5e5;}
    #Footer span.SkinObject{font-weight:normal;color:#666666;}
    #Footer a.SkinObject{float:right;font-weight:normal;text-decoration:underline;}
    #Footer a.SkinObject:link, #Footer a.SkinObject:active, #Footer a.SkinObject:visited, #Footer a.SkinObject:hover{color:#e5e5e5;padding:0 0 0 15px;}

My only problem is that the background color of the footer is black and I am trying to make it either white or a light gray. However, I want to keep the two links -- the Privacy statement and the Terms of Use links -- while changing the colour. If i create a new plain white .jpg file and call it white.jpg and then change the first line above to:

#Footer{min-height:45px;width:100%;background: url(images/white.jpg) repeat-x 0 0;}

the links are removed from the footer. How can I change the colour while keeping the links there?

 
New Post
5/26/2012 2:00 AM
 

Hi Fred,

Are you sure the links aren't there and just hidden? Maybe when you change the background color to white the link color in the footer (which is very similar) are just obscured. You are on the right track with replacing the first line in the css you posted. You can remove the image and just call the background color white.

#Footer{min-height:45px;width:100%; background:#ffffff;}

The #ffffff added above is the color white. The last line you pasted controls the color of the links.

#Footer a.SkinObject:link, #Footer a.SkinObject:active, #Footer a.SkinObject:visited, #Footer a.SkinObject:hover{color:#e5e5e5;padding:0 0 0 15px;}

 Change the #e5e5e5 to another more contrasting color. Try #000000 which is black to test it.

#Footer a.SkinObject:link, #Footer a.SkinObject:active, #Footer a.SkinObject:visited, #Footer a.SkinObject:hover{color:#000000; padding:0 0 0 15px;}

Google HEX colors and you'll get a bunch of links to color charts and tools.

Here is one to start. http://www.w3schools.com/html/html_colors.asp

Hope that helps.

Rich

 
New Post
5/26/2012 8:45 PM
 
Rich, thank you so much, this was enormously helpful! You were right about being unable to see the links properly because of the similarities of the colours.
 
New Post
5/26/2012 9:09 PM
 
I was hoping you could help me out with one last small issue related to the skin.css file. I would like to change the location of my menu. Right now, the menu bars are slightly too low and I would like to raise them a little bit higher on the page. Also, I would like to change the background colour which is black and the page name writing which is a light greyish/white colour. I don't need a specific colour, I would just like to play around with different ones to see which looks best.

I have been trying to play around with the following code but I haven't been having much success. I know the menu comes from this code, I'm just not really sure what changes to make.

#Breadcrumb{height:30px;width:960px;line-height:30px;background:url(images/Breadcrumb-BG.jpg) no-repeat 0 0;margin:0 0 2em 0;font-size:11px;}
#Breadcrumb span{display:inline-block;height:30px;float:left;font-weight:bold;color:#666;font-size:11px;}
#Breadcrumb .Intro{text-transform:uppercase;padding:0 15px 0 13px;margin:0 15px 0 0;font-size:10px;background:url(images/Breadcrumb-FirstSep.jpg) no-repeat right 0;}
#Breadcrumb .SkinObject{display:inline-block;color:#944e4e;height:30px;float:left;}
#Breadcrumb .SkinObject:hover{text-decoration:underline;}
#Breadcrumb span.Sep{width:14px;background:url(images/Breadcrumb-Sep.jpg) no-repeat 0 0;margin:0 15px;}
 
New Post
5/27/2012 5:38 AM
 
I don't think that is the menu. That is the Breadcrumb trail (the path down the hierarchy of the site to where you currently are).

The placing if the menu is determined by the skin - It's the token that begins somthing like "dnn:MENU MenuStyle..."

For the colors of the menu items you have a LOT of CSS classes to choose from. The menu is flexible (lots of classes) but that means you have to choose carefully.

Do a view source on the page. Look at the rendered classes for the menu, decide what to override - put it in Portal.css.


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Changing my Footer in skin.cssChanging my Footer in skin.css


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