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, ...Default Skin - Center logoDefault Skin - Center logo
Previous
 
Next
New Post
5/30/2011 3:48 AM
 
Hi All

I have looked and read many posts not only here but in other places, with regards to centering a logo for the whole site, some posts say do this and others say do this, so does anybody know a definative answer.

I am using the MinimalExtropy skin and using the skin.css that goes with it, I have added  text-align: center to every line below and still it wont display the logo in the center and ideas.  I have also did the same to the porta.css with no effect.

.logo_top_left{padding:0; margin:0; background:url(images/logo_top_left.png) no-repeat top left;height:23px;}

.logo_top_right{padding:0; margin:0; background:url(images/logo_top_right.png) no-repeat top right;}

.logo_top_bg{padding:0; margin:0 39px 0 27px; background:#FFF url(images/logo_top_bg.png) repeat-x top;height:23px;}

.logo_left{padding:0; background:url(images/logo_left.png) repeat-y top left;}

.logo_right{padding:0; background:url(images/logo_right.png) repeat-y top right;}

.logo_pad{background:#FFF; margin: 0 19px 0 7px; padding:0 0 10px 10px;height:100%;}

 
New Post
5/30/2011 7:18 AM
 
A quick and dirty fix is to change the logo_pad class to read:

.logo_pad{background:#FFF; margin: 0 19px 0 7px; padding: 0 0 10px 300px;height:100%;}


 
New Post
5/30/2011 9:34 AM
 
Thanks for the code.It really helped me.

bulk ear plugs
 
New Post
5/30/2011 12:17 PM
 
Thx Chris, that got it, as you said a dirty way of doing things, I would have where you set the image, there could easily be a check box to state what position you would want, but never mind thx again.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Default Skin - Center logoDefault Skin - Center logo


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