Hello/Hi/Greetings to the reader,
In the Personal menu from the Advanced Menu menu I have put a piece of code to return to my home page of the site. This return from the Piwigo album works well apart from the fact the character color remains ""white"" of the link despite of other color instruction in the code:
<p style="font-family: 'Century Gothic','sans-serif'; font-size: 18.0pt; color: #ff0000;"> <strong><a href="../index.html">Home Page</a>
</strong></p>
Piwigo versie Piwigo 2.6.2
Besturingssysteem: WINNT
PHP: 5.3.13 (Toon info) [2014-05-06 21:03:43]
MySQL: 5.5.24-log [2014-05-06 21:03:43]
Afbeeldingen bibliotheek: GD bundled (2.0.34 compatible)
Thanks for your afvice, Peter de Bruin
Offline
Hi
as the white color is applied to the <a> tag, it overwrites the value on <p> (cf: CSS priority rules)
you must put style="color:red;" on every <a>
Offline
Hi,
The colour is probably being overridden by another section.
Please supply a link to the page
Regards
Offline
Hello Misctic, The advice color:red; didn't work eighter. I understand the argument that the link <a> is overwritten however this is a local instruction specific to this link! I think there must be a overwrite somewhere as I have tried Elegant, Dark and Luciano themes also. In the latter two you see white but when hovering over the link it changes colour into yellow. This indicates an overwrite later in the code to my earlier command. Trust this helps maybe? - regards Peter de Bruin.
Offline
use this http://piwigo.org/doc/doku.php?id=user_ … q:css_code to help you finding what's wrong : use firebug and see directly what is overwriting what
also check the tutorials/guides linked on that page
Offline