You need to Register for free and Login to post a message in the forum.

Forum

Subject: Changing color of Login
Prev Next
You are not authorized to post a reply.

Author Messages
Mark Tracy
Nuke Newbie
Nuke Newbie
Posts:4

15 Jun 2006 3:44 PM  

I am trying to change the color of my login to white.  I found some info on the asp.net forums, but it didn't work.  If you look at the code from the files below you can see I created a Css class named LOGINCHG in my .xml file and in my .css file I change the color to white.  Will this not work?

skin.xml

<Objects>
 <Object>
  <Token>[LOGIN]</Token>
   <Settings>
    <Setting>
     <Name>Text</Name>
     <Value>Register/Login</Value>
    </Setting>
    <Setting>
     <Name>CssClass</Name>
     <Value>LOGINCHG</Value>
    </Setting>
   </Settings>
 </Object>
</Objects>

 

skin.css file

.MainMenu_MenuItem {
 color: white;
}
.MainMenu_SubMenu {
 color: black;
 background-color: blue;
}
.LOGINCHG {
 color: white;
}

 

 

Lee Sykes
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5287


16 Jun 2006 2:35 AM  
Hello,

Yes that should work. - First thing is to press refresh a couple of times, sometimes it takes time to take effect.

2) - Download the FireFox web developers Toolbar
this is an essential tool that I use all the time for skin development. - Once you've installed it, open your skin in Firefox and select Information / Display ID & class details - You will then be able to view the class that is associated with the Login links.

From this you will be able to see if you have made a mistake somewhere for setting the class for the login links.

The other really useful tool in the toolbar is to go to CSS / Edit CSS - this allows you to test CSS settings live and doesn't change the original CSS file.

Hopefully this will help you troubleshoot your skin to see where the problems are occurring, thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > Users Lounge > Everything Else > Changing color of Login



ActiveForums 3.7

Latest Forum Posts

Non Standard Port with DNN 5+ by thejudge
Hello Some time back we started tinkering with DNN v5, however we couldn't get it to work when tr...
RE: Community Edition Question by idesofmarch
Thanks a million! This is my first project in dotnetnuke. I've always done Joomla or Drupal. But I d...
Flash in the HTML Module-Source Code by robmacker
Here is the source Flash files for the implementation question i have below. Thank you for lookin...
Windows 7 Install gone wrong by RichardSletcher
Hi I have just attempted to install DNN 5.2 on Windows 7 Pro. I followed you video tutorial but I n...
RE: Module Advanced Setting by jncraig
The module contents is distinct and separate from the Module's container on a particular page. Wh...
RE: Community Edition Question by jncraig
The UDT Module has a new name: Form and List. Look for that. If it is not installed, it shoul...
DataSpring Opt In Module - Scheduler Question by wynnjon
Hey-I was wondering if anything special had to be done to keep the site alive so that the scheduler ...
RE: the now content not showing and still showing the old one by jncraig
You probably can't. Your browser is caching the old flash file, and CRTL-F5 forces a reload. If yo...
RE: Nav Menu v2 for DotNetNuke v5 - Issue 52 by jncraig
Here is a nice little blog entry on the subject.(Basically, though, this gives you a nice and clean ...
RE: Flash in the HTML Module by robmacker
OK, so i commented out my AC_RunActiveContent.js file and my HTML module runs the same -- telling me...
RE: Flash in the HTML Module by mcmanta
I had the same problem before. I noticed I had some HTML tags from some error text I copied. I was a...
RE: Creating Portals before setting the host by cyborama
Thanks for the reply Joe, The way my hosting company does things they don't have per say host hea...
RE: Flash in the HTML Module by robmacker
Wow, why does the forum format my question to make it basically unreadable?? I certainly did not typ...
Flash in the HTML Module by robmacker
Hello members! I have a simple flash application that was written for an HTML page and i'm trying...
Send email with Dynamic Forms Results by jesp17
Hello, Is there a way to automatically generate a report with all form results and then send this r...
Community Edition Question by idesofmarch
I'm learning a lot just browsing around here. Wish I could delete my question below. Oh well. Wher...
RE: DNN Site crashed after module install by mcmanta
I found a work around. Looks like the module replaces the Telerik.Web.UI located in the bin folder o...
RE: iHostASP by chandirika
Hi,I am reselling account with this http://www.goresellers.com/ site ,for my web site's web hosting...
the now content not showing and still showing the old one by wael_e
after i uploading the new contenct in my website and i uploading static html page have introdaction ...
RE: Regular Expression by jumatthey
Hi, Thank you very much Mark. It is indeed a name I am checking. Thank you for your help, very mu...
DNM Rapid Application Developer Trial Version
RSS Feeds