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.
Hi, if I go to the search page on my website with my iPhone 6 s plus in portrait view, the search button appears directly under the search field. Didn't find the css code to increase the space between both lines.
In landscape view there is enough space in one line.
Rainer
Offline
try writing a media query for iPhone width and add some margin-top to the button.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Offline
need help on that?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Think so, must have a look on it to understand and learn. 0.20 h a. m..
I have learned so much in the last days, because it is raining in Germany since days.
Rainer
Offline
try this in your custom css:
@media screen and (max-width: 414px) {
button {
margin-top: 12px;
}
}
you may need to adjust the max-width.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks Rod, all works fine with:
@media screen and (max-width: 414px) {
button {
margin: 10px auto;
}
}
@media screen and (min-width: 415px) {
button {
margin: 10px;
}
}
Rainer
Last edited by Rainer Goergen (2016-06-02 17:48:04)
Offline
not sure what that second media query is accomplishing for you, other than moving the button ten pixels to the right for devices between 415px and about 464px.
Try making your browser window narrower and narrower and you'll see what I mean.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
You are at thr wrong site.
You must have a look at my homepage. For me all looks fine.
At my testsite too with iPhone 6s plus and iPhone 4.
Rainer
Second media is on desktop the margin in one line to the form field.
Last edited by Rainer Goergen (2016-06-02 22:48:44)
Offline