Osclass Support Forums
Osclass theme support => Free themes => Patricia Osclass Responsive Theme => Topic started by: BabyDunk on June 11, 2016, 05:05:49 AM
-
in firefox the Recaptcha input box would float far right beyond the image. i figured out
div#recaptcha_widget #recaptcha_response_field {clear:both;}
needs changed to
div#recaptcha_widget #recaptcha_response_field {display: block;}
now the input box sits in the intented position in firefox, chrome and iexplorer. i cant say for the rest.
-
@aweegander
Thanks for the tip ;)
-
in firefox the Recaptcha input box would float far right beyond the image. i figured out
div#recaptcha_widget #recaptcha_response_field {clear:both;}
needs changed to
div#recaptcha_widget #recaptcha_response_field {display: block;}
now the input box sits in the intented position in firefox, chrome and iexplorer. i cant say for the rest.
hello im new and idont have idea about programing ,,can you help how to find that code to change the code new code thankyou
-
in firefox the Recaptcha input box would float far right beyond the image. i figured out
div#recaptcha_widget #recaptcha_response_field {clear:both;}
needs changed to
div#recaptcha_widget #recaptcha_response_field {display: block;}
now the input box sits in the intented position in firefox, chrome and iexplorer. i cant say for the rest.
hello im new and idont have idea about programing ,,can you help how to find that code to change the code new code thankyou
find it in CSS
-
@anubahostingph.com
you will need to get yourself an editor. i use phpdesigner but you can get plenty of free programs. Notepad++ is a popular one
here's a list free of editors
http://free-php-editor.com/ (http://free-php-editor.com/)
first download and/or open the style.css file, found in oc-content/themes/patricia/
then search for
div#recaptcha_widget #recaptcha_response_field
i found it on line 940 but it might be different on you style.css, as my style.css has been heavily edited.
replace
div#recaptcha_widget #recaptcha_response_field {clear:both;}
with
div#recaptcha_widget #recaptcha_response_field {display: block;}
thats what fixed my problem
All the best
Chris
-
@anubahostingph.com
you will need to get yourself an editor. i use phpdesigner but you can get plenty of free programs. Notepad++ is a popular one
here's a list free of editors
http://free-php-editor.com/ (http://free-php-editor.com/)
first download and/or open the style.css file, found in oc-content/themes/patricia/
then search for
div#recaptcha_widget #recaptcha_response_field
i found it on line 940 but it might be different on you style.css, as my style.css has been heavily edited.
replace
div#recaptcha_widget #recaptcha_response_field {clear:both;}
with
div#recaptcha_widget #recaptcha_response_field {display: block;}
thats what fixed my problem
All the best
Chris
hello its not working same problem but when i used recapcha 1 working good
please check: (https://s12.postimg.org/sn64ki4v1/broken.png) (https://s8.postimg.org/y3lzdentx/follow_2.png)
-
you have to replace
div#recaptcha_widget #recaptcha_response_field {clear:both;}
with
div#recaptcha_widget #recaptcha_response_field {display: block;}
what's your url?
-
are you using noCaptcha recaptcha free plugin for the reCaptcha v2?
-
i used defult recaptcha from my dashboard..this is my site please help thank you.https://www.kabayanmarket.com/index.php?page=register&action=register (https://s14.postimg.org/zfguzieg1/recapcha.png) please teach me from the start whre i put the codes thank you again
-
Good morning anubahostingph.com
do you have an editor, to change code in the patricia theme files?
also go to the market and download noCaptcha recaptcha. once you have it installed goto https://www.google.com/recaptcha/admin#list (https://www.google.com/recaptcha/admin#list) and get your site and secret key and put it in the noCaptcha recaptcha settings page found at the plugins section in the osclass control panel.
once you have that done select where the places you wish to use reCaptcha.
then save settings. once thats all complete goto to the main settings of osclass, the spam and bots section and remove any information in there relating to reCaptcha.
then you want to edit your theme to place the noCaptcha recaptcha code for all the places you had selected in the settings .
please give me a list of all the areas you selected in the noCaptcha recaptcha settings to place a reCaptcha??
-
yes i have a editor like note pad i already follow your guide i already clean my recaptcha then i install the plug in from the market but icant see the recaptcha in my reg form..and i confused this code where i put? please check this image.. (https://s15.postimg.org/xryvy7mgb/code_2.png) and also please check the other pictures,.(https://s15.postimg.org/korye21cb/list_form.png) (https://s31.postimg.org/wi4h8gfm3/image.png) ineed to put recaptcha registration form,log in form and web contact form please and im sory idont have idea thankyou..
-
if your user-register.php is in original layout and hasn't been edited.
open the user-register.php and on line 27 put the code (move what is already on the line down one line by simply hitting enter)
<?php osc_run_hook("anr_captcha_form_field"); ?>
also on line 83 and 84 replace this
<script type="text/javascript">var RecaptchaOptions = {theme : 'white'};</script>
<?php osc_show_recaptcha('register'); ?>
with this
<!-- ReCaptcha -->
<div id="recaptcha_v2">
<?php osc_run_hook("anr_captcha_form_field"); ?>
</div>
now open responsive.css and add this to the top of the page
/* reCaptcha v2 */
@media screen and (min-width: 1051px){
div#recaptcha_v2 { width:100%;height:auto;float:left;clear:both;margin:0 0 10px 30%; }
}
that will sort your login and registration forms
-
for your web contact form open contact.php and on line 53 replace
<?php osc_show_recaptcha(); ?>
with this
<!-- ReCaptcha -->
<div id="recaptcha_widget">
<?php osc_run_hook("anr_captcha_form_field"); ?>
</div>
no css rules are needed for this.
but generally if you want to add noCaptcha reCaptcha with any of the forms listed in the plugin. you just need to place the code before the submit button code in the desired form
<?php osc_run_hook("anr_captcha_form_field"); ?>
i dont think there are an css rules needed for any of the forms left over.
All the best
BabyDunk
-
i install but cant view my recaptcha by the way i have a private message to you regarding my problem sir please read thanks..