Hiding search by post

This topic contains 2 replies, has 2 voices, and was last updated by  Dominick Amorosso 7 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #203672

    Dominick Amorosso
    Expired Member
    Post count: 7

    Hi, for the life of me I can’t seem to hide the search by post in the search bar.

    I’ve tried using .search_by_post {
    display: none;
    }

    With no luck at all. I only have one type of post “Events” so it’s kinda useless and doesn’t look good on a mobile. Any help would be awesome.

    #203843

    Kor
    Moderator
    Post count: 16516

    Hi Dominick,

    That dropdown menu will only be displayed when you’ve more than one CPT. You might want to check on that. https://wpgeodirectory.com/docs/custom-post-types-add-on-overview/ . If you want to use custom CSS, try inserting an !important as shown below.

    
    
    .search_by_post {
       display: none!important;
    }

    Thanks!

    #203959

    Dominick Amorosso
    Expired Member
    Post count: 7

    Thank you very much.That worked great. But since you told me to look into custom post types I’ve learned a lot more. I installed custom post types but then quickly learned that I can’t use that because my site is solely based on events like garage sales with start and end dates. Where the events plugin gives me that control.

    That being the reason I needed to remove search by post types. I hope I have that right anyway lol..

    Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket