Captcha fields too far from each other

Phoca Guestbook - creating guestbooks in Joomla! CMS
aa111
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Jul 2012, 19:44

Captcha fields too far from each other

Post by aa111 »

Hi,

Just installed Phoca Guestbook - looks really good!
Only problem I have is that Captcha fields are displayed way too far from each other (see attached image).
Any ideas how could I move them to the left?
Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Captcha fields too far from each other

Post by Jan »

No not sure what can be the problem there :idea: , but you can customize it in:

components/com_phocaguestbook/views/guestbook/tmpl/ ...

Jan
If you find Phoca extensions useful, please support the project
aa111
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Jul 2012, 19:44

Re: Captcha fields too far from each other

Post by aa111 »

Thanks Jan. I finally managed to get this fix by editing default.php file in location you provided.

In case anyone else needs:

Height could be fixed by editing this line:

Code: Select all

$imageHeight = 'style="height:105px"';
Width was more problematic. Whatever changes I tried to make this wasn't taking any affect to table cell width. At the end I dropped all elements (captcha image, input box and refresh image) into one cell and then played with margins to get everything exactly how I want.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Captcha fields too far from each other

Post by Jan »

Ok, thank you for the info.

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