Home › Forums › Calendar Products › Events Calendar PRO › Remove Date From Search Bar
- This topic has 6 replies, 2 voices, and was last updated 9 years ago by
Samy's Camera.
-
AuthorPosts
-
March 27, 2017 at 2:59 pm #1260546
Samy's Camera
ParticipantHello,
I’d like to remove the “Events From” date filter in my search bar. Can you please help?
http://www.samysphotoschool.com/events/
Thanks,
MarioMarch 28, 2017 at 7:36 am #1260788Courtney
MemberHello
The easiest way to do that would be to add this CSS to your site:
.tribe-bar-date-filter {display: none !important;}
I like to place this in Appearance » Customize » Additional CSS, though you can place it in your child theme or elsewhere.
Let me know if this works for you.
Thanks,
Courtney 🙂March 28, 2017 at 11:27 am #1261025Samy's Camera
ParticipantHello Courtney,
Thank you. That worked.
I added this code there as well because the search bar didn’t look right at that size:
.tribe-bar-search-filter {width: 600px
!important;}The only problem with that is that the search bar is too wide on mobile now. Do you have a code I can add to keep the width of the search input field within a mobile browser?
March 28, 2017 at 11:45 am #1261039Samy's Camera
ParticipantHi Again,
I added this code, and it worked for my iPhone 7+:
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: portrait)
{.tribe-bar-search-filter {width: 370px !important;}
}@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: landscape)
{.tribe-bar-search-filter {width: 690px !important;}
}Is there any other code I should add for other phone screen sizes?
Thanks,
MarioMarch 28, 2017 at 12:27 pm #1261063Courtney
MemberThanks for sharing those fixes 🙂
Let us know if there’s anything else we can do to help.
April 19, 2017 at 9:35 am #1271715Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Remove Date From Search Bar’ is closed to new replies.
