Page 1 of 1

Captcha stuff in one row

Posted: 17 Nov 2019, 13:09
by slycrespo
Hello!
I am using Joomla! 3.9.13 and Phoca guestbook 3.0.11. In my guestbook, I want to have all 3 things (look at the attached picture) in one row.. How do I do that? Please help!

Image

Re: Captcha stuff in one row

Posted: 17 Nov 2019, 19:57
by christine
Hi,

you could try it with an Override. https://docs.joomla.org/How_to_override ... omla!_core

Possible files:
components\com_phocaguestbook\views\guestbook\tmpl\default_form.php
or
components\com_phocaguestbook\views\guestbook\tmpl\default_form_classic.php

Kind regards
Christine

Re: Captcha stuff in one row

Posted: 17 Nov 2019, 20:19
by slycrespo
Can you give me a more detailed instruction please?

Re: Captcha stuff in one row

Posted: 18 Nov 2019, 12:07
by slycrespo
Please help me somebody...

Re: Captcha stuff in one row

Posted: 18 Nov 2019, 14:04
by christine
Hi,

could we see it live please? Because users will have different spam-protections, templates etc.
We also have to check relevant lines/codes of above php files, as they have to re-sort & then to change via template override.

Without seeing your site - in the meantime, you could try with following CSS code:
either:

Code: Select all

.input-append {
display:inline-flex;
}
or:

Code: Select all

p.pgb-captcha-in {
display:inline-block;	
}
e.g. template.css, or custom.css (depends of template you are using)

Kind regards
Christine

Re: Captcha stuff in one row

Posted: 18 Nov 2019, 15:54
by slycrespo
Here is my guestbook site:

http://salondomi.si/index.php/knjiga-gostov

I am using Standard Captcha and my template is RT Mercado.

Re: Captcha stuff in one row

Posted: 18 Nov 2019, 16:04
by slycrespo
I tried this code now:
p.pgb-captcha-in {
display:inline-block;
}
And now it's like this:
Image

But I want it like this:
Image

Re: Captcha stuff in one row

Posted: 18 Nov 2019, 17:51
by christine
Hi,

there is not always (in other users sites) visible the word: AntiSpam Verification* - that's why the URL was useful.

Remove the other one & change to:

Code: Select all

p.pgb-captcha-in {
display: flex;
float:left; 
}

label#jform_guestbook_captcha-lbl {
float:left;  
}

/*Word AntiSpam Verification-centered*/
label#jform_guestbook_captcha-lbl {
padding-top:5px;
margin-right:3px;  
}
input#jform_guestbook_captcha {
margin-top:5px;
margin-left:3px;  
}
temporary it looks now:

Image

Kind regards
Christine

Re: Captcha stuff in one row

Posted: 18 Nov 2019, 17:59
by slycrespo
This is exactly how I want it. Thank you very much !

Re: Captcha stuff in one row

Posted: 18 Nov 2019, 18:51
by christine
Hi,

That's fine & thanks for your feedback!

Kind regards
Christine