-
j21fryeAsked on May 23, 2018 at 7:43 AM
My Geo-Complete field keeps shrinking when I enter data and the full address gets cut off. Is there a way to fix this via CSS?
Page URL: https://www.homey-llc.com/ -
aubreybourkeReplied on May 23, 2018 at 10:13 AM
Replace the CSS for your geo-complete widget with this:
#geocomplete {
min-width: 500px !important;
max-width: 500px !important;
height: 20px;
border: 1px solid rgb(204, 204, 204);
background-color: #fafafa;
font-size: 17px;
}
@media only screen and (max-width: 400px) {
#geocomplete {
width: 90% !important;
}
}
How-to-Inject-CSS-Codes-to-Widgets
Here we specify the field to be 500 pixels wide on desktop view.
And 90% wide on mobile devices (under 400 pixels wide).
-
j21fryeReplied on May 23, 2018 at 12:43 PMThanks so much! Totally worked!
...