Tagged: x
-
AuthorPosts
-
October 18, 2016 at 11:32 pm #1221816
GATHHParticipantHi there,
Unfortunately, Google custom search doesn’t display nicely in X Theme. It’s adding some strange internal padding and the search button is not properly visible. I wonder why that is.
I have tried to apply the CSS from here (https://community.theme.co/forums/topic/google-custom-search-engine-not-displaying-correctly-with-x-theme/) but that didn’t help at all.October 19, 2016 at 2:57 am #1221961
ChristopherModeratorThanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
October 19, 2016 at 4:09 am #1222018
GATHHParticipantThis reply has been marked as private.October 19, 2016 at 6:54 am #1222137
ThaiModeratorHi There,
Please add the following CSS:
.gsc-input-box { height: 40px; } input#gsc-i-id1 { height: 25px !important; margin-top: 3px !important; padding: 5px !important; } input.gsc-search-button.gsc-search-button-v2 { color: #fff; background-color: #000; padding: 15px 25px; background: url(https://www.google.com/uds/css/v2/search_box_icon.png) no-repeat center center; }Hope it helps 🙂
October 19, 2016 at 9:05 pm #1223249
GATHHParticipantThanks a lot for that. Almost there. It looks a little bit better but the search button still won’t show nicely. See screenshot please.
October 19, 2016 at 9:19 pm #1223261
GATHHParticipantI made a few more adjustments to the code you gave me and it works perfectly now. For anyone else to use:
.gsc-input-box { height: 40px !important; } input#gsc-i-id1 { height: 25px !important; margin-top: 3px !important; padding: 5px !important; background: #fff !important; box-shadow: none !important; } input.gsc-search-button.gsc-search-button-v2 { color: #fff !important; padding: 15px 25px !important; background: url(https://www.google.com/uds/css/v2/search_box_icon.png) no-repeat center center #0f9449 !important; }October 20, 2016 at 1:28 am #1223423
RadModeratorGlad to hear that and thanks for sharing!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1221816 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
