Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Hi,
Please,
I don't find how to center the search form
<div id="background"> </div>
<div id="corps" class="the__copy">
<div class="content clearfix">
<h1>Trouvez l'image pour votre projet créatif</h1>
</div>
<form action="backlight/search" method="GET" class="search-form">
<input type="text" id="q" name="q" value="" placeholder="Rechercher"/>
<button type="submit" class="fa_pseudo">
<span>Rechercher des images</span>
</button>
</form>
thanks
Nico
Last edited by Nico3939 (2019-06-05 23:46:05)
Offline
is this something you're inserting into a page?
if so, just add some inline styling to the form element:
<form action="backlight/search" method="GET" class="search-form" style="margin:0 auto;">
or you can do it with custom css:
form.search-form {
margin: 0 auto;
}
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
thank you Rod, much simpler than what I did!
Offline
Pages: 1