Tagged: x
-
AuthorPosts
-
February 2, 2017 at 5:22 am #1355059
rabblerParticipantHi
How Do I reduce the size of the font and add a colour background to the search box overlay?
rabble.ie
February 2, 2017 at 5:27 am #1355062
rabblerParticipantAlso, is it possible to add an “x” to the top corner so people can close it down?
February 2, 2017 at 7:20 am #1355161
Paul RModeratorHi,
1. You can add this under Custom > Edit Global CSS in the Customizer.
.x-searchform-overlay .form-search .search-query { font-size: 5em; background-color:red; }2. You can close it by clicking anywhere outside the text box.
Adding an X, could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding. Take care!
February 2, 2017 at 7:50 am #1355197
rabblerParticipantJust for my own curiosuity, its someone on my team complaining that people “wont find out how to close it if they dont want to search.” I think its just BS, you guys must know from expereince that people are copped enough to click anywhere outside the text box at this stage?
February 2, 2017 at 12:05 pm #1355491
RupokMemberHi there,
Thanks for writing back. As it will be closed by clicking anywhere and it’s a natural UX. So user will be able to close it unintentional by clicking anywhere. It’s rather a better UX.
Cheers!
February 20, 2017 at 2:53 pm #1378717
bttrym8ParticipantI’ve run into the same request as our friend above. I doubt you’ve changed positions from “it’s outside the scope…” so would you mind pointing me to the file that needs to be edited to insert an X icon?
February 20, 2017 at 10:41 pm #1379225
RupokMemberHi there,
If you want to add an X icon then it’s possible with some CSS or JS. Let’s provide your URL so that we can tailor the code for you.
Cheers!
February 22, 2017 at 4:54 pm #1381942
bttrym8ParticipantThis reply has been marked as private.February 22, 2017 at 11:29 pm #1382407
RadModeratorHi there,
You may subscribe to this thread 🙂
And please add this CSS to your child theme’s style.css
.x-searchform-overlay-inner:before { content: "\f00d"; position: fixed; top: 0px; right: 20px; font-family: "fontawesome"; font-size: 30px; cursor: pointer; cursor: hand; }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1355059 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
