Remove folder icon

Phoca Gallery - image gallery extension
LuxesR
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 26 Nov 2012, 16:46

Remove folder icon

Post by LuxesR »

I search too long for this. I want to remove the icon next to the category.

Image

Also, how do I get rid of that number next to the title of the category?

EDIT
Already got the first problem with the folder icon. Just removed:

padding-left: 20px;
background: url(../../images/icon-folder-small.png) 0 1px no-repeat;

From default.css in the theme.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove folder icon

Post by Jan »

Hi, try to see (to hide number next to category - if it cannot be set in Option, this can be done in CSS):
https://www.phoca.cz/documents/2-phoca-g ... ca-gallery
Jan
If you find Phoca extensions useful, please support the project
LuxesR
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 26 Nov 2012, 16:46

Re: Remove folder icon

Post by LuxesR »

It didn't help me yet. I can't find the button so I was looking for the CSS file which I can't find. Maybe because the structure of files of the Joomla 3.x version is different. I'm using your latest version.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove folder icon

Post by Jan »

Hi, yes, you need to look at your html code and find the class of the box for the number.

Jan
If you find Phoca extensions useful, please support the project
LuxesR
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 26 Nov 2012, 16:46

Re: Remove folder icon

Post by LuxesR »

Thank you! For others:

Go to: media/com_phocagallery/css/custom/default.css. Find line 19 and put:

display: none;

in the .pg-csv-count div.

However, I still got a problem cause the album now got more space for it's title. For example. Before it was like this:

This is a ex... (3)

Now it is:

This is a ex...

But it has enough space to show:

This is a example

How can I make sure that it makes use of it's space now the count is gone?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove folder icon

Post by Jan »

Hi, in Options, set the number of characters for the category name)

Jan
If you find Phoca extensions useful, please support the project
LuxesR
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 26 Nov 2012, 16:46

Re: Remove folder icon

Post by LuxesR »

That worked perfect for me! :) Thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove folder icon

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply