Hide part of image description

Phoca Gallery - image gallery extension
oleo80
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Feb 2010, 19:20

Hide part of image description

Post by oleo80 »

Hi all!
If you need to hide part of image description when displaying thumbnails and show the full description when displaying the picture, I've the solution!
First of all, let's modify the CSS: assets/phocagallery.css
add this:

Code: Select all

#phocagallery div.phocaimgdeschtml span.myhiddendesc{
	display: none;
}
Then you have to write the hidden text inside this code:

Code: Select all

<span class="myhiddendesc">
YOUR HIDDEN DESCRIPTION
</span>
That's it. Enjoy!
Last edited by oleo80 on 10 Jun 2011, 16:54, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [Solved] Hide part of image description

Post by Jan »

Hi, thank you for this guide.

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