how i can disable category search on homescren at mobile version

This topic contains 3 replies, has 3 voices, and was last updated by  Kor 7 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #318954

    dunja Baltensweiler
    Full Member
    Post count: 14

    hi

    i use enfold and geodirectory. i prefere to disable category search on mobile view. But my record does not working. Any idea?

    @media only screen and (max-width: 767px) and (min-width: 480px) {
    .map_category {
    display:none!important;}
    }

    #319049

    Guust
    Moderator
    Post count: 29970

    Please review https://wpgeodirectory.com/docs/common-styling-examples/#legend

    The code you posted only works on a screen wider than 480px and less than 767px, so that may be the issue.

    #319137

    dunja Baltensweiler
    Full Member
    Post count: 14

    hi
    No, it is not working. i prefere to disable on mobile screen because it is to big on it.

    http://marktfuehrer.swissmallhydro.ch/

    /*Map category disable on mobile// dunja*/
    @media only screen (max-width: 750px) {
    .map_category {
    display:none!important;}
    }

    also i try this:
    @media only screen and (max-width: 767px) {
    .geodir_map_v3_home_map_1 {
    display:none!important;}
    }

    #319198

    Kor
    Moderator
    Post count: 16516

    Hi Dunja,

    Could you try using this custom CSS and see if it works?

    
    
    @media only screen and (max-width: 500px) {
    .map_category {
        display:none!important;}
    }

    Thanks!

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount