Search…

X3 Photo Gallery Support Forums

Search…
 
tschortsch
Experienced
Topic Author
Posts: 150
Joined: 01 Apr 2010, 17:23

Links & text-decoration

29 Jul 2011, 05:03

Hey!

I tried to edit the stylesheet in my theme to change the hover-underline-effect on links but links are still underlined on mouse-over.

I used following code in the style-sheet:
Code
a:hover {
text-decoration: none;
}
Inline-css in the textpage also had no effect on text-decoration. I always cleared the cache...

Does anybody know how to do this?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Links & text-decoration

04 Aug 2011, 13:00

Yes, unfortunately we had to pretty much remove the a:hover css from themes, because it created a bug with links when the contact form or images were present. Instead, the underline hover effect is hardcoded. Is this a problem? Its a pretty subtle effect that visitors are used to see these days ...

Also, you can not use inline-css in flash textfields ... They simply are not that powerful like browsers - They are just limited textfields with basica formatting. You can assign CSS classes in your textpages, but not inline-css.

YES:
Code
<span class="myclass">Hello World</span>
NO:
Code
<span style="color: #FFFFFF;">Hello World</span>
 
tschortsch
Experienced
Topic Author
Posts: 150
Joined: 01 Apr 2010, 17:23

Re: Links & text-decoration

04 Aug 2011, 16:33

Thanks for your reply!

Yes, I can live with that, just wanted to ask...