Home arrow Forum

Remository Forum

 


peterlucas

Karma: -1  
Remository CSS - 2010/06/10 19:34 Any time I make a change to my site template's CSS file, it affects Remository too. I see there is a remository.css file in the com_remository folder. Does this CSS file actually affect anything (e.g., on the file list page)?

When I view the page source, I see some DIV classes defined, but they aren't referred to in the remository.css file.

I'd like to be able to change the remository.css file so it will change the look of the Remository pages.
  | | Sorry, you do not currently have permission to write here.
chrissy6930

Karma: 27  
Re:Remository CSS - 2010/06/11 06:27 use firefox with firebug to identify what needs editing
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 101  
Re:Remository CSS - 2010/06/11 10:07 Chrissy's comment is quite correct

I'd add that it is deliberate that the Remository CSS does not affect too many of the styling features of Remository. The aim is that it should allow styling to cascade from the site template so that the Remository display will blend with the site. That seems to me the appropriate policy for an application that will be used within a web site whose styling is mainly determined by the site template.

The Remository CSS has some styling features, but is largely about organizing the structure of the display, while keeping the Remository HTML as close to semantic markup principles as possible.

However, there are plenty of hooks in the Remository HTML that should enable custom styling to be applied.

If you are using Remository 3.53 you can effectively customize by first copying the file ../components/com_remository/remository.css to ../components/com_remository_files/custom.css and then editing the custom.css file.

If Remository finds a custom.css file in that location, it will use it instead of the standard remository.css file. Your customization will therefore be unaffected by the installation of future releases of Remository, provided you do not remove the ../components/com_remository_files directory structure.
Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
peterlucas

Karma: -1  
Re:Remository CSS - 2010/06/11 22:13 With a bit of tweaking and the use of Chrome's built-in Developer Tools, I was able to achieve the desired results.

Thanks for your help.
  | | Sorry, you do not currently have permission to write here.
gerozing

Karma: 0  
Re:Remository CSS - 2012/01/19 14:24 Nevertheless, one cannot modify a format from template.css. without effecting the whole site. Where do I change the tag <h2> </h2>to <h4> </h4>? I didnot find an index.php

Post edited by: gerozing, at: 2012/01/19 14:28
  | | Sorry, you do not currently have permission to write here.

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 10 guest online