• Resolved gaffnere

    (@gaffnere)


    hi there.

    i have a footer widget containing a bunch of sponsor links on my site. it’s formatted really bascially, e.g. just a text widget containing some html of the sponsor images & links.

    the sponsors are fine when viewed on a computer/laptop, but i don’t want them appearing on smaller media screens because as the sponsor icons end up piling up & crowding each other out. (i’m testing on an iphone screen.)

    can someone please help me hide this widget on smaller media screens? i just need to hide this widget on smart phones; larger tablets are probably ok.

    so i tried this code but it didn’t work:

    @media screen and (max-width: 760px) {
    #sidebar-footer-wide {
    		display: none;
    	}
    }
    @media screen and (-webkit-min-device-pixel-ratio : 1.5), screen and (min-device-pixel-ratio : 1.5) {
    #sidebar-footer-wide {
    		display: none;
    	}
    }

    would appreciate any help.
    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Where did you add that – it seems to work for me on a resized desktop machine – can’t test with Firebug on a iPhone.

    Make sure you don’t have any CSS errors hanging it up.

    Thread Starter gaffnere

    (@gaffnere)

    thank you for your reply, WPyogi.
    so it worked 🙂 …i stupidly hadn’t cleared my phone’s cache. (duh)
    cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide Footer Text Widget on Smart Phones’ is closed to new replies.