How do I override the default text styles on active links?
Autor: Matt West
Visitado 2057,
Seguidores 1,
Compartilhado 0
If I make some text into an active link, it then follows the formatting rules (i.e. colour) of the default active link and mouseover link defined in general settings. How do I override this? I want some text to remain in a different colour.
Does this mean in X5, you can only have one style of active links/mouseover text?
The only way I can think of acheiving this is to make it a graphic and make the graphic linkable.
Publicado em
In the template style -> text style there is a tab/pulldown menu to set the different colours or styles used for the link options.
These will then be used for this project and can be changed to any colour you like.
Hello Matt,
Further to what Andre has commented on, if you want to effect a change of colour on only certain links (i.e. cherry-picking instead of acting globally on each type... active, visited, etc.) then you could do this with CSS...
But be warned, you will have to go under the hood and get your hands dirty with some manual coding!
If you look in the 'style' folder for your X5 project on the server then you will find a file called style.css - if you open/edit this file then you will find the CSS for the various link styles not very far down the document. The section is headed /* Links */
Study the CSS for the existing links, then it should become apparent that you could easily create an additional category for your own needs... e.g. a standard visited link in X5 is defined as .imCssLink:visited but you could create another category like .imCssLinkCustom:visited or .imCssLinkChangedColour:visited
Hope this gets you thinking about the possibilities... there are various places within X5 to add your own CSS, or you could edit the finished pages before uploading to the server by exporting to disk first in Step 5.
Disclaimer: you will need to become familiar with basic CSS as Incomedia obviously can't provide support for projects with customisations like this!
All the best with it!
Paul