Phoca Gallery Tree text fold

Phoca Gallery modules - modules for Phoca Gallery extension
Kordian
Phoca Enthusiast
Phoca Enthusiast
Posts: 72
Joined: 20 Oct 2011, 16:37

Phoca Gallery Tree text fold

Post by Kordian »

Hello,
I have got multiple categories and subcategories with long names in my Phoca Gallery. Because of that some of them are invisible in Phoca Gallery Tree module.
Is there a parameter or a way to fold the name of a category in the tree so as everything will be displayed?
Regards
Kordian
Kordian
Phoca Enthusiast
Phoca Enthusiast
Posts: 72
Joined: 20 Oct 2011, 16:37

Re: Phoca Gallery Tree text fold

Post by Kordian »

OK, I managed that myself.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Tree text fold

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Yaro
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 04 Feb 2012, 22:10

Re: Phoca Gallery Tree text fold

Post by Yaro »

Hello,
first, Jan thank you for your work and so excellent components!
Topic - Phoca Gallery Tree text fold - I have the same problem: I want to place Gallery Tree module in sidebar of my template, but it is only 140 px.
So, if I have multiple sub-categories they are invisible - I would like to fold text (categories names) so they are visible in module.
Please Kordian would you be so kind to explain how you solved it?
Or may be Jan has solution?
Best regards
Yaro
Kordian
Phoca Enthusiast
Phoca Enthusiast
Posts: 72
Joined: 20 Oct 2011, 16:37

Re: Phoca Gallery Tree text fold

Post by Kordian »

Hi,
I didn't do much and it is not as professional, as I would wish: I simply added/changed these 2 lines to the dtree element in dtree.css:
white-space: normal;
text-indent: inherit;
It does not look professional, as you would have to add the line and empty images to make it look as it should.
I am no programmer and I do not know how to do it. Would appreciate if someone could do it. It would solve the problem.
Regards
Kordian
Post Reply