Announcement

#1 2014-05-12 11:46:16

Peter de Bruin
Member
Netherlands
2013-09-17
35

character color remains white

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

 

#2 2014-05-12 12:49:18

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: character color remains white

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

 

#3 2014-05-12 12:50:07

paul105
Member
2012-08-17
132

Re: character color remains white

Hi,

The colour is probably being overridden by another section.

Please supply a link to the page

Regards

Offline

 

#4 2014-05-12 14:04:30

Peter de Bruin
Member
Netherlands
2013-09-17
35

Re: character color remains white

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

 

#5 2014-05-12 14:56:27

flop25
Piwigo Team
2006-07-06
7037

Re: character color remains white

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


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact