diff --git a/frontend/assets/AppAsset.php b/frontend/assets/AppAsset.php
index 56dc84c..9633b2d 100755
--- a/frontend/assets/AppAsset.php
+++ b/frontend/assets/AppAsset.php
@@ -14,6 +14,7 @@
public $css = [
'css/style.css',
'css/animate.css',
+ 'css/site.css',
'//fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,500,700,800',
'//xkasa.com.ua/Styles/Oziris/1.css',
];
diff --git a/frontend/views/site/contact.php b/frontend/views/site/contact.php
index 803c07e..d3ca224 100755
--- a/frontend/views/site/contact.php
+++ b/frontend/views/site/contact.php
@@ -172,7 +172,7 @@ JS;
= $form->field($contact, 'reCaptcha')->widget(
\himiklab\yii2\recaptcha\ReCaptcha::className(),
['siteKey' => '6LcmYmcUAAAAAASKWf3qnHXJCg9vGfJfDefY9TzW']
- ) ?>
+ )->label(false) ?>
= Html::submitButton(
' Отправить сообщение',
diff --git a/frontend/web/css/site.css b/frontend/web/css/site.css
new file mode 100644
index 0000000..d8e72de
--- /dev/null
+++ b/frontend/web/css/site.css
@@ -0,0 +1,7 @@
+/*
+Класс для выравнивания по центру формы инпута google ReCaptcha
+*/
+.f_center {
+ margin-left: 80%;
+ transform: translateX(-50%);
+}
\ No newline at end of file
diff --git a/frontend/web/js/script.js b/frontend/web/js/script.js
index e5510cc..25a98bc 100755
--- a/frontend/web/js/script.js
+++ b/frontend/web/js/script.js
@@ -8,6 +8,9 @@ $(function() {
filtersCloseMobil();
imgCardZoom();
+ $('.field-feedback-recaptcha').addClass('col-sm-12').addClass('f_center');
+
+
function clickMenuButton() {
var menuButtonParent = $('.main-nav-item')
menuButtonParent.find('.btn-like').click(function (e) {
--
libgit2 0.21.4