Hi,
In phocagallery category view the number of images in a category is displayed. For example : category name (37).
I dont want this number to appear, how do i hide it ?
I found this post
https://www.phoca.cz/forum/viewtopic.php?f=1&t=10017#p41442
on the subject but its rather old and when i opened the file they mentioned there was no matching code.
thanks
How to hide the number of images in a category
-
sitzikbs
- Phoca Newbie

- Posts: 9
- Joined: 10 Apr 2010, 14:39
-
jeffreyccs
- Phoca Newbie

- Posts: 3
- Joined: 01 Apr 2012, 15:12
Re: How to hide the number of images in a category
Hi
Try inserting the following in your template.css file.
Works for me
Regards
Jeff
Try inserting the following in your template.css file.
Code: Select all
div.pg-cats-box-float td span {
display: none;
}Regards
Jeff
-
sitzikbs
- Phoca Newbie

- Posts: 9
- Joined: 10 Apr 2010, 14:39
Re: How to hide the number of images in a category
Thank you jeff, that worked just great. 
-
sitzikbs
- Phoca Newbie

- Posts: 9
- Joined: 10 Apr 2010, 14:39
Re: How to hide the number of images in a category
hi
so my website was hacked and deleted so i had to do everything all over again.
it seems that all of a sudden i have a problem with this fix.
i cant locate
if ($this->categories[$i]->numlinks > 0) {
echo '<span class="small">('.$this->categories[$i]->numlinks.')</span>';
}
In /components/com_phocagallery/views/categories/tmp/default.php
its just not there anymore. how do i fix this ?
thanks
so my website was hacked and deleted so i had to do everything all over again.
it seems that all of a sudden i have a problem with this fix.
i cant locate
if ($this->categories[$i]->numlinks > 0) {
echo '<span class="small">('.$this->categories[$i]->numlinks.')</span>';
}
In /components/com_phocagallery/views/categories/tmp/default.php
its just not there anymore. how do i fix this ?
thanks
-
sylvio42
- Phoca Newbie

- Posts: 1
- Joined: 13 Aug 2012, 22:57
Re: How to hide the number of images in a category
Where can i find this template.css, i dont know the folder where it is!
-
sitzikbs
- Phoca Newbie

- Posts: 9
- Joined: 10 Apr 2010, 14:39
Re: How to hide the number of images in a category
its usually located in
public_html/templates/*your template name*/css
where
*your template name* is the name of the template that you are using
public_html/templates/*your template name*/css
where
*your template name* is the name of the template that you are using