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, ...Where do I change the CSS for the Copyright token?Where do I change the CSS for the Copyright token?
Previous
 
Next
New Post
3/20/2008 12:52 PM
 

Hey Folks...

Working on my new skin, and I need to change the CSS so that where I have the [copyright] block in my skin, that I can match the feel I'm using for the rest of the footer block (which the balance of it all manually created).  So, where exactly do I have to go to make the changes?  I believe these must be in the site setup stuff someplace, as the actual text of the copyright is, but am not sure where to look.

Thanks,

Brian

 
New Post
3/20/2008 1:57 PM
 

You change it in the skin.  Create a CSS class for it and use a <span> or other element to apply the style.

Jeff

 
New Post
3/20/2008 2:21 PM
 

Well, I've just verified with FireBug that where I had put into the skin the class data I wanted to use for the div which encompasses the [Copyright] token, when I run the page and go look, I can see that it's being overridden by the default.css stylesheet, which the .SkinObject class being the responsible reason. 

So, I'm betting that SOMEWHERE in the site configuration, there is a place I can edit this... Any ideas where that might be?  I could manually remote to the server and edit the default.css file to fix the color, but I'd like to do it through the interface.

Also, I need to add some padding within the content area for a container I've built.  I don't see anything in my container.css, so should I assume that the padding would be stored elsewhere as well?  looks like in the html module from the view source I did on a page.  <div id="dnn_ctr388_HtmlModule_HtmlModule_lblContent" class="Normal"> is what it looks like what I'm looking for.

Brian

 
New Post
3/20/2008 2:59 PM
 

You have to give the [COPYRIGHT] token a CSS class in order to take full control of its styling by doing one of the following options:

  1. <dnn:COPYRIGHT runat="server" id="dnnCOPYRIGHT" CssClass="MyCopyright" /> if you develop ASCX skin
  2. insert the following attribute in the skin.xml file if you are developing an HTML skin
    1. <Objects>
         <Object>
           <Token>[COPYRIGHT]</Token>
           <Settings>
               <Setting>
                       <Name>CssClass</Name>
                       <Value>MyCopyright</Value>

               </Setting>
           </Settings>
         </Object>
      </Objects>

It should work!


Cuong Dang
Co-founder: Enliven, dnnGallery
LinkedIn | Twitter
I'm the author of DNN and Web Standards Wrox Blox

 
New Post
3/20/2008 3:14 PM
 

So, even though there's a .skinObject class in the default.css stylesheet, you're telling me there's no way to access\change that data from anywhere in the admin\host interface? 

That makes no sense.

Brian

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Where do I change the CSS for the Copyright token?Where do I change the CSS for the Copyright token?


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