Changing color of Login
Last Post 06/16/2006 2:35 AM by Lee Sykes. 1 Replies.
Author Messages
Mark Tracy
Nuke Newbie
Nuke Newbie
Posts:4


--
06/15/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 VI
    Nuke Master VI
    Posts:4945


    --
    06/16/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/DNNCreative

    Lee Sykes's Facebook Profile


    ---