Sitefinity overriding anchor link colors and properties
Hello,
In one of our new projects with Sitefinity 4.3.1885. SE, I found that Sitefinity overrides the default link colors on a page. It not only overrides the anchor link color, but it also overrides hover, visited and hover states. I found the following code that was overriding all the links on our pages from the file below:
oursite.com/Telerik.Web.UI.WebResource.axd
icKeyToken%3d121fae78165ba3d4%3aen%3a9799c67b-558a-475d-bf30-a0ccf0dbb8b7%3a9ad5c0b%3abf649b0%3aed2942d4%3a8cee9284%3bTelerik.Sitefinity.Resources%2c+Version%3d4.3
.1885.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen%3a03746db0-4fe2-4567-92b0-24f5ce28c3e9%3ad271177c%3adff30785
a:link, a:visited, a:hover, a:active
color: #105CB6;
text-decoration: none;
I can override the styles by defining an div with an id and then override all the links in the div. But, I should be just fine by defining global links for my site and leave it there. Any reason why this is happening. Please find the attached screenshot.
Thank you for your time.
Hi San,
How do you declare your anchor link styles? If your links have ids or classes set to them, and you declare the css properties to them, default styles won't override them.
Greetings,
Jen Peleva
the Telerik team
Hello Jen,