Page 1 of 1

Changing Text in Hover Description Box

Posted: 22 Sep 2008, 15:43
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

Re: Changing Text in Hover Description Box

Posted: 22 Sep 2008, 22:18
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

Re: Changing Text in Hover Description Box

Posted: 26 Sep 2008, 04:37
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>';

Re: Changing Text in Hover Description Box

Posted: 26 Sep 2008, 19:09
by Jan
see line 148 + (overlib code)

Jan