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
Phoca Gallery Tree text fold
-
- Phoca Enthusiast
- Posts: 72
- Joined: 20 Oct 2011, 16:37
Re: Phoca Gallery Tree text fold
OK, I managed that myself.
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
-
- Phoca Newbie
- Posts: 2
- Joined: 04 Feb 2012, 22:10
Re: Phoca Gallery Tree text fold
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
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
-
- Phoca Enthusiast
- Posts: 72
- Joined: 20 Oct 2011, 16:37
Re: Phoca Gallery Tree text fold
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
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