EPrints Technical Mailing List Archive

Message: #05741


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

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


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

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Alan.Stiles
Sent: 27 May 2016 11:09
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] CSS attributes modification by over-riding

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?

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Laurent Cloarec
Sent: 27 May 2016 10:41
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] CSS attributes modification by over-riding

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

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/