[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



We've all been caught out by cached stylesheets - and more than once for me! :o)

Glad you got it working - looking forward to the next puzzle!

-----Original Message-----
From: Laurent Cloarec [mailto:Laurent.Cloarec at ut-capitole.fr] 
Sent: 27 May 2016 15:30
To: John Salter <J.Salter at leeds.ac.uk>; alan.stiles at open.ac.uk
Cc: eprints-tech at ecs.soton.ac.uk
Subject: 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 at ut-capitole.fr>
Pour : J.Salter at leeds.ac.uk
Copie ? : eprints-tech at 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