- This topic has 8 replies, 2 voices, and was last updated 6 years ago by
Andy.
-
AuthorPosts
-
March 30, 2020 at 7:58 pm #9917
Frederik Leemans
ParticipantI’ve noticed a different rendering of the search form in the header, depending on the browser (Safari vs Chrome). My main problem is that in Safari, the text is white on a white background. Any ideas how to address this?
Thanks,
Frederik
-
This topic was modified 6 years ago by
Frederik Leemans.
-
This topic was modified 6 years ago by
Frederik Leemans.
March 30, 2020 at 9:09 pm #9921
AndyKeymasterHi Frederik, do you have it on a live site that I can take a look at please?
March 30, 2020 at 9:24 pm #9922
AndyKeymasterCould you try adding this CSS to Customize > Additional CSS:
#masthead .search-form input[type="search"], #masthead .woocommerce-product-search input[type="search"] { background: #000000; }Please let me know if that works, or not. Thanks.
March 30, 2020 at 9:44 pm #9923Frederik Leemans
ParticipantSure. Still ‘under construction’, but this is it:
Thanks,
Frederik
March 30, 2020 at 9:45 pm #9925Frederik Leemans
ParticipantHi Andy,
Doesn’t seem to resolve the problem…
I do have another bit of extra CSS in there, but I don’t think it would interfere:
.entry-header.with-image.full:before,
.archive-header.with-image.full:before {
background: transparent;
}Picked that up from this site to keep the original header image colors.
Thanks,
Frederik
March 30, 2020 at 9:46 pm #9928
AndyKeymasterThanks, yes that extra CSS would not intefere with the search form.
Will need to do some more digging into this. Will get back to you soon when I have more information.
Thanks.
March 30, 2020 at 10:09 pm #9929
AndyKeymasterOkay, please remove the CSS I gave you earlier and replace with this:
#masthead .search-form input[type="search"], #masthead .woocommerce-product-search input[type="search"] { -moz-appearance: none; -webkit-appearance: none; background: #2d364c; }Let me know if that works, thanks.
March 30, 2020 at 10:13 pm #9931Frederik Leemans
ParticipantYep, that seems to fix the problem.
Thanks!
Frederik
March 30, 2020 at 10:17 pm #9933
AndyKeymasterThanks for letting me know it works.
-webkit-appearance: none;should have been included in the theme so that the styling will work with safari. I’ll get the theme updated with this any other form inputs where it may be missing. -
This topic was modified 6 years ago by
-
AuthorPosts
- The topic ‘Search form in header text color’ is closed to new replies.
