Customcolorlink
Last modified by Gabriela Radu on 2008/03/14
Question | How do I create custom colored links for a specific page only? |
Answer |
If you want to change the colors of your links on your project, or just a single page, you can do that easily by creating a new class in the css files. this is the path for my skin(you can find this css file in any skin): .../xwiki/xwiki/webapps/xwiki/skins/albatross/wiki.css and here i have made my special class to use in tables, where i have my links. this is the code from the wiki.css that i have added: /*part for the links*/ .wiki-mytable a:hover { color:#FFFFFF; text-decoration:none; } .wiki-mytable th { border-width: 0px; border-style: inset; text-align: left; font-weight: 100; font-size: 160%; padding: 8px; background-color: #DE2626; } .wikicreatelinktext { text-decoration: none; color:#FFFFFF; } /*end of part for the links*/ and now in the xwiki i can use my class "my table" for my table like this: <table class="mytable" border="0" width="100%" > I hope I could make myself understood, I am not that good at explaining |