- This topic has 5 replies, 3 voices, and was last updated 5 years, 2 months ago by
Ying.
-
AuthorPosts
-
April 22, 2021 at 8:21 am #1744894
Kathryn
For some reason, search input field on my website is not applying the styling that has been set for all screen sizes. It adds border radius to all corners, instead of just top left and bottom left corner. It also adds inset box shadow at the top of input field, although it is not specified anywhere.
A whole of css code for search input:
.menu-bar-items .search-form { display: -webkit-box; display: -ms-flexbox; display: flex; } input[type="search"] { max-width: 130px; font-size: 15px; padding: 2px 6px; border-radius: 20px 0 0 20px; } .search-submit { padding: 2px 6px; border-radius: 0 20px 20px 0; font-size: 15px; } .search-submit .gp-icon svg { stroke: #fff; stroke-width: 10; } @media screen and (min-width: 981px) and (max-width: 1196px) { .menu-bar-items .search-form { margin-top: 8px; } }Screenshot of the problem
https://pasteboard.co/JYwVpTL.pngApril 22, 2021 at 3:11 pm #1745280Kathryn
Helloo!?! Are you providing any support or not? 7 hours
April 22, 2021 at 3:13 pm #1745281Kathryn
Why am I discriminated always waiting multiple hours while questions after mine are getting answered massively?
April 22, 2021 at 9:58 pm #1745474Elvin
StaffCustomer SupportHi there,
Why am I discriminated always waiting multiple hours while questions after mine are getting answered massively?
My apologies. it’s definitely not intended.
For some reason, search input field on my website is not applying the styling that has been set for all screen sizes. It adds border radius to all corners, instead of just top left and bottom left corner. It also adds inset box shadow at the top of input field, although it is not specified anywhere.
Can you try replacing this:
input[type="search"] { max-width: 130px; font-size: 15px; padding: 2px 6px; border-radius: 20px 0 0 20px; }with this?
input.search-field { max-width: 130px; font-size: 15px; padding: 2px 6px; border-top-left-radius: 20px; border-bottom-left-radius: 20px; }Let us know how it goes.
April 23, 2021 at 8:15 am #1746167Kathryn
The issue still remains.
April 23, 2021 at 9:17 am #1746253Ying
StaffCustomer SupportHi there,
I think this issue is an iOS issue, we can’t really do anything about it, you can have a look at this topic, it might help 🙂
https://stackoverflow.com/questions/2918707/turn-off-iphone-safari-input-element-rounding -
AuthorPosts
- You must be logged in to reply to this topic.