GDMap on Home Page – CSS issues

This topic contains 7 replies, has 2 voices, and was last updated by  jltrinka 10 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #9403

    jltrinka
    Free User
    Post count: 183

    I am having a problem where I am trying to get the map removed while in mobile, yet it still persists. The CSS rule I received from you guys was:

    
    
    @media only screen and (max-width:480px)
    {
    .geodir_map_container{display:none;}
    }

    Which is in my CSS in wordpress, but the map persists. I tried using inspector to see if the rule is being applied, and it doesn’t seem like it is. I disabled caching from cloudflare, and even still nothing. Any ideas?

    http://www.bmvapes.com

    #9425

    Simone
    Expired Member
    Post count: 3515

    Hello, I see that your map is gone on mobile, and the rule is successfully applied on your style.css

    (stretch your browser while testing the mobile rule with the inspector, using your desktop browser)

    #9431

    jltrinka
    Free User
    Post count: 183

    How would you go about removing just the home page map, and not all maps on mobile? I like the ones that display for listings, but this rule removes those too :-/

    #9432

    jltrinka
    Free User
    Post count: 183

    Also, i still see the map on mobile, and in inspector i dont see that rule applied

    #9433

    Simone
    Expired Member
    Post count: 3515

    Try this on your style.css

    
    
    @media only screen and (max-width:480px)
    div#sticky_map_geodir_map_v3_home_map_3.top_banner_section.geodir_map_container {
    display:none;
    }

    check your cache on your device, I tested with more than one mobile device and I don’t see any map (see attach)

    #9453

    jltrinka
    Free User
    Post count: 183

    I tried this code, cleared mobile, varnish, and cloudflare caches, and still no change :-/

    I don’t know how you don’t see it!

    #9454

    jltrinka
    Free User
    Post count: 183

    heres the screenshot i see

    #9663

    jltrinka
    Free User
    Post count: 183

    So, it’s day two and the CSS rule still isnt applying. Still not quite sure why…

Viewing 8 posts - 1 through 8 (of 8 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