[solved] Statistics pane background

Phoca Gallery - image gallery extension
sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 75
Joined: 13 Apr 2011, 16:28

[solved] Statistics pane background

Post 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?
Last edited by sapo on 06 Mar 2012, 14:22, edited 1 time in total.
Shh
Phoca Member
Phoca Member
Posts: 20
Joined: 31 Dec 2011, 21:42

Re: Statistics pane background

Post 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
sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 75
Joined: 13 Apr 2011, 16:28

Re: Statistics pane background

Post by sapo »

Thanks for answering.
I'm really not fit on CSS.
Can you please explain to me?
thanks
Shh
Phoca Member
Phoca Member
Posts: 20
Joined: 31 Dec 2011, 21:42

Re: Statistics pane background

Post 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
sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 75
Joined: 13 Apr 2011, 16:28

Re: Statistics pane background

Post 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
Shh
Phoca Member
Phoca Member
Posts: 20
Joined: 31 Dec 2011, 21:42

Re: Statistics pane background

Post 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
sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 75
Joined: 13 Apr 2011, 16:28

Re: Statistics pane background

Post 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
Last edited by sapo on 05 Mar 2012, 13:26, edited 1 time in total.
Shh
Phoca Member
Phoca Member
Posts: 20
Joined: 31 Dec 2011, 21:42

Re: Statistics pane background

Post 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
sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 75
Joined: 13 Apr 2011, 16:28

Re: Statistics pane background

Post by sapo »

quite near
Image
Thanks for helping
sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 75
Joined: 13 Apr 2011, 16:28

Re: Statistics pane background

Post by sapo »

or maybe somebody know a way to change the background color from white to black?
Thanks for helping
Post Reply