Page 1 of 2

[solved] Statistics pane background

Posted: 04 Mar 2012, 16:21
by sapo
Please have a look here:http://www.natur-fotograf.ch/de/gallery ... ndschaften
On title of Statistic pane, the background is missing.
I tried to put a background on /httpdocs/components/com_phocagallery/views/category/tmpl/default_statistics.php
but I was not able to do. :(
Can somebody help me?

Re: Statistics pane background

Posted: 04 Mar 2012, 18:06
by Shh
Hi,

at first glance - the '.nopad fieldset' elements have 'float:left' in their CSS.

My newbie solutions - remove the float:left from the CSS, or add a clearing div after the fieldsets ( <div style="clear:both"></div> )

Hope this helps,
Shh

Re: Statistics pane background

Posted: 05 Mar 2012, 00:49
by sapo
Thanks for answering.
I'm really not fit on CSS.
Can you please explain to me?
thanks

Re: Statistics pane background

Posted: 05 Mar 2012, 04:40
by Shh
Hi again,

just try adding

<div style="clear:both"></div>

at the very end of this file
/components/com_phocagallery/views/category/tmpl/default_statistics.php

Shh

Re: Statistics pane background

Posted: 05 Mar 2012, 10:01
by sapo
Thanks for answering.
I tried . Now the hole statistic pane background is white. How can I put the right background?
Thanks for helping

Re: Statistics pane background

Posted: 05 Mar 2012, 10:14
by Shh
Hi again,

I missed the part when you wrote 'title' : ) My mistake.

Can you please create a image of what parts of the statistics you would like to have background on?

Shh

Re: Statistics pane background

Posted: 05 Mar 2012, 10:42
by sapo
Thanks for answering
the upper legend part with the statistics icon (white background)
with original default_statistics.php :
Image
and with <div style="clear:both"></div> :
Image
Thanks for helping

Re: Statistics pane background

Posted: 05 Mar 2012, 17:52
by Shh
Ok, so try this

in the default_statistics.php file change this

Code: Select all

	if ($this->tmpl['displaymaincatstat']) {
		echo '<fieldset>'
to this

Code: Select all

	if ($this->tmpl['displaymaincatstat']) {
		echo '<fieldset style="float: none; margin-bottom: 15px;">'
and please post the result

Shh

Re: Statistics pane background

Posted: 05 Mar 2012, 23:55
by sapo
quite near
Image
Thanks for helping

Re: Statistics pane background

Posted: 06 Mar 2012, 13:32
by sapo
or maybe somebody know a way to change the background color from white to black?
Thanks for helping