Struggling with css to change login text
Last Post 11/03/2006 3:35 AM by Lee Sykes. 1 Replies.
Author Messages
Katie Favara
Nuke Newbie
Nuke Newbie
Posts:1


--
11/02/2006 4:32 PM
    I am new to skinning.  I am trying to change the text of the Login link (for starters).  I think I am not connecting to the css correctly.  I have linked to the style.css file from the .htm file.  My css looks like this:
    .SelectedTab {
        font-weight: bold;
        font-size: 8.5pt;
        color: orange;
        font-family: Tahoma, Arial, Helvetica;
        text-decoration: none;
    }

    A.SelectedTab:link {
        text-decoration:    none;
        color:green;
    }

    A.SelectedTab:visited  {
        text-decoration:    none;
        color:purple;
    }

    A.SelectedTab:active   {
        text-decoration:    none;
        color:#eeeeee;
    }

    A.SelectedTab:hover    {
        text-decoration:    none;
        color:#cccccc;
    }

    I have chosen ugly colors just to see if I can get it to work. 

    My skin.xml file looks like this:

      <Object>
        <Token>[LOGIN]</Token>
        <Settings>
          <Setting>
            <Name>CssClass</Name>
            <Value>SelectedTab</Value>
          </Setting>
        </Settings>
      </Object>


    Thanks for your help.

    Katie
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    11/03/2006 3:35 AM

    Hi Katie,

    In your skin.htm file you do not need to specify the CSS file that you are linking to, it automatically is set within DNN. - You should add your styling to the skin.css file.

    There are other css files in DNN and you can read about how they all work here:

    Introduction to CSS and inheritance in DotNetNuke skins

    I would suggest you go to our tutorials page and look at the skinning section, if you follow the tutorials through in order it will save you loads of time.
    http://www.dnncreative.com/Tutorials/tabid/261/Default.aspx

    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


    ---