EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #05745


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Fwd: Re: CSS attributes modification by over-riding


Sorry : it does work completely now !

Proxy/cache problems ???

Thanks for all, anyway !

Best regards
Laurent

P.S. : soon be back for other questions (privileges list) !...

-------- Message transféré --------
Sujet : Re: CSS attributes modification by over-riding
Date : Fri, 27 May 2016 16:17:32 +0200
De : Laurent Cloarec <Laurent.Cloarec@ut-capitole.fr>
Pour : J.Salter@leeds.ac.uk
Copie à : eprints-tech@ecs.soton.ac.uk


Hi John and Alan,

Thank you for the answers !

Alan, the zzz_local.css entries do appear in the "auto-3.3.12.css" browser style
sheet. And if I modify, for instance, the "color" attribute the same way, it
does apply !

John, examining the CSS elements from the rendered web page, I didn't notice any
id-based selector call...

So, still wondering what's happening with this "font-size" atribute...

Best regards,
Laurent Cloarec
Service Commun de la Documentation - Service du Numérique Documentaire
Université Toulouse 1 Capitole
France


Re: [EP-tech] CSS attributes modification by over-riding
From: John Salter <J.Salter AT leeds.ac.uk>
Date: Fri, 27 May 2016 10:24:32 +0000

Also, use a tool like Firebug to see how the rule is being applied - if there's a rule that contains an id-based selector and the class selector e.g.
#content .ep_tm_footer
that will have a higher precendence than a simple class selector.

Cheers,
John

Re: [EP-tech] CSS attributes modification by over-riding
From: "Alan.Stiles" <alan.stiles AT open.ac.uk>
Date: Fri, 27 May 2016 10:08:55 +0000

Have you checked that the modified zzz_local.css element is appearing in your ↵
auto-3.3.12.css through the browser? If you modify something else (e.g. color: red; ) does that apply?

Le 27/05/2016 11:41, Laurent Cloarec a écrit :
Hi there,

I'm trying to change some "ep_tm_footer" CSS class attributes by over-riding
them in the config file "static/style/auto/zzz_local.css" : I've written :
«
.ep_tm_footer {font-size: 100%;}
»
But it doesn't seem to work !!!

Of course, if I modify this attribute in the original "template.css" file, it
does, but it would be a very dirty work, wouldn't it ?

On another hand, other modifications of "static/style/auto/zzz_local.css" do
work...

So, where am I wrong ???

Best regards
--
Laurent Cloarec
Service Commun de la Documentation - Service du Numérique Documentaire
Université Toulouse 1 Capitole
France