| 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*/<table class="mytable" border="0" width="100%" > |
Version 3.1 last modified by Gabriela Radu on 14/03/2008 at 18:41
Document data
Attachments:
No attachments for this document
Comments: 0