Changing Text in Hover Description Box

Phoca Gallery - image gallery extension
rubyprincess_916
Phoca Member
Phoca Member
Posts: 12
Joined: 19 Sep 2008, 05:48

Changing Text in Hover Description Box

Post by rubyprincess_916 »

Hello :)

I need to change the text in the hover box description so that the title is centered and the description text is left-aligned.

I am really struggling with where to do this! Argh. I've looked through all the .css files and I can't figure out where I can make these changes.

Would it be possible to tell me in which file and where in the file I can make these modifications? Then my gallery will be PERFECTO!

Thanks so much, Jan!

Wendy
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Changing Text in Hover Description Box

Post by Jan »

Hi, try to define align of the description in editor, you can change it here:

components\com_phocagallery\views\category\tmpl\default.php
If you find Phoca extensions useful, please support the project
rubyprincess_916
Phoca Member
Phoca Member
Posts: 12
Joined: 19 Sep 2008, 05:48

Re: Changing Text in Hover Description Box

Post by rubyprincess_916 »

Would I be adding something here? :)

// Image, description
echo '<div class="contentpane'.$this->params->get( 'pageclass_sfx' ).'">';
if ( @$this->tmpl['image'] || @$this->category->description ) {
echo '<div class="contentdescription'.$this->params->get( 'pageclass_sfx' ).'">';
if ( isset($this->tmpl['image']) ) {
echo $this->tmpl['image'];
}
echo $this->category->description
.'</div>';
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Changing Text in Hover Description Box

Post by Jan »

see line 148 + (overlib code)

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