1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +02:00

Voux newsletter form responsive fixes.

This commit is contained in:
Cameron 2017-02-07 08:00:15 -08:00
parent 7d32e5ae4e
commit c0e90bcf8c
2 changed files with 5 additions and 3 deletions

View File

@ -266,12 +266,12 @@ $LAYOUT['_footer_'] = '
<div class="container">
<div class="block">
<div class="row">
<div class="col-lg-6">
<div class="col-lg-offset-1 col-lg-5 col-sm-6">
<div class="caption">
<img src="'.THEME_ABS.'install/sketch-subscribe.png">
<img class="img-responsive" src="'.THEME_ABS.'install/sketch-subscribe.png">
</div>
</div>
<div class="col-lg-6">
<div class="col-lg-6 col-sm-6">
{VOUX_NEWSLETTER_FORM}
</div>
</div>

View File

@ -31,8 +31,10 @@ class theme_shortcodes extends e_shortcode
$frm = e107::getForm();
$text = $frm->open('newsletter','post', e_SIGNUP, array('class'=>'form-inline'));
$text .= "<div class='input-inline'>";
$text .= $frm->text('email','', null, array('placeholder'=>"Enter your email"));
$text .= $frm->button('subscribe', 1, 'primary', "Subscribe");
$text .= "</div>";
$text .= $frm->close();
return $text;