Support » Plugin: WP Store Locator » Disable overflow hidden on mobile

  • Resolved Vincenzo Casu

    (@vincent06)


    Hi, is there a way to apply a rules that remove the fixed height to the #wpsl-stores container?

    #wpsl-stores, #wpsl-direction-details, #wpsl-gmap {
        height: 550px !important; /* This rules override bottom media query */
    }
    
    @media (max-width: 767px){
    #wpsl-direction-details, #wpsl-stores {
        height: auto !important;
        overflow: auto !important;
    }
    }

    I wont to remove the scrolling section in mobile version… is it possible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Vincenzo Casu

    (@vincent06)

    Can you help me? I’ve tried to use your filter to customize the template but without results because the interested code was not hooked into that filter… and so I don’t konw how to override the default css rules for #wpsl-stores container…

    • This reply was modified 2 years, 3 months ago by Vincenzo Casu.
    Plugin Author Tijmen Smit

    (@tijmensmit)

    You should be able overwrite CSS rules by making them more specific.

    So try this:

    #wpsl-wrap #wpsl-result-list #wpsl-stores {
     // your code.
    }

    Do add this at the bottom of the CSS file.

    Thread Starter Vincenzo Casu

    (@vincent06)

    Great! Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable overflow hidden on mobile’ is closed to new replies.