leszek220 Posted February 11, 2021 Share Posted February 11, 2021 Witam chcę przenieść newsletter do stopki by wyświetlał się obok linków kod wygląda tak: <div class="block_newsletter col-lg-8 col-12"> <div class="row"> <p id="block-newsletter-label" class="col-md-5 col-12">{l s='Get our latest news and special sales' d='Shop.Theme.Global'}</p> <div><class="col-md-5 col-12"> <form action="{$urls.pages.index}#footer" method="post" class="needs-validation"> <input type="hidden" name="action" value="0"> <div class="input-group"> <input class="col-md-3 col-12" name="email" class="form-control{if isset($nw_error) and $nw_error} is-invalid{/if}" type="email" value="{$value}" placeholder="{l s='Your email address' d='Shop.Forms.Labels'}" aria-labelledby="block-newsletter-label" autocomplete="email" > <div class="input-group-append"> <button class="btn btn-primary" type="submit" name="submitNewsletter"><span class="d-none d-sm-inline">{l s='Subscribe' d='Shop.Theme.Actions'}</span><span class="d-inline d-sm-none">{l s='OK' d='Shop.Theme.Actions'}</span></button> </div> </div> <div class="clearfix"> {if $msg} <p class="alert mt-2 col-md-4 col-12"{if $nw_error}alert-danger{else}alert-success{/if}"> {$msg} </p> {/if} {if $conditions} <p class="small mt-2 col-md-4 col-12">{$conditions}</p> {/if} {if isset($id_module)} {hook h='displayGDPRConsent' id_module=$id_module} {/if} </div> </form> </div> </div> </div> Link to comment Share on other sites More sharing options...
krzysiek_web Posted February 11, 2021 Share Posted February 11, 2021 Jeżeli te sekcje są w tym samym kontenerze to pobaw się opcją: <div class="block_newsletter col-lg-8 col-12"> np. col-lg-8 zmieniając na col-lg-3 (Im mniej tym węższy blok to tak w skrócie, 12 to 100%). Link to comment Share on other sites More sharing options...
leszek220 Posted February 11, 2021 Author Share Posted February 11, 2021 Dzięki problem rozwiązany, to co napisał krzysiuus poniekąd pomogło ale musiałem pozmieniać col-lg- w sąsiadujących modułach. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now