Jump to content


Photo
- - - - -

Can't background-image:none for mobie view

customization background-image browser specific css

Best Answer beardedavenger , 08 January 2013 - 10:24 PM

Check out the responsive utility classes:

 

http://twitter.githu...caffolding.html

 

Ex:

 

 

 

 
.mything {
.hidden-phone;
}

 

 

Nick

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 mbreese1

mbreese1

    Advanced Member

  • Members
  • 39 posts
  • Framework Version:Pro
  • Country: Country Flag

Posted 08 January 2013 - 10:08 PM

Dearest people-who-know-what-they're-doing,

 

I've doing alright hacking my way through WP and Platform Pro, but I finally really am stuck. I need to hide the background-image from mobile view but cannot (for the life of me) figure out how. I installed Browser Specific CSS to make the process easier, but alas- not easy enough for me.

 

I used the following code to add in the color I want to show in mobile:

body.android {background-color: #333333 !important;}

 

Then I tried to use the same idea to remove the image:

body.android {background-image: none !important;}

 

This second piece does absolutely nothing. I am completely stumped, but assuming it is something obvious to everyone else in the universe. Possibly I've got the wrong selector/element/class? (Ha ha, like I even know what those are!)

 

My site is still under construction, and I'll clean up my custom code when I finally learn how ;) tanathetattooedlady.com

 

Thank you x50k

B



#2 beardedavenger

beardedavenger

    Unicorn Wrangler

  • Members

  • 1219 posts
  • Country: Country Flag

Posted 08 January 2013 - 10:24 PM   Best Answer

Check out the responsive utility classes:

 

Please Login or Register to see this Hidden Content

 

Ex:

 

 

 

Please Login or Register to see this Hidden Content

 

 

Nick



#3 mbreese1

mbreese1

    Advanced Member

  • Members
  • 39 posts
  • Framework Version:Pro
  • Country: Country Flag

Posted 08 February 2013 - 01:33 AM

Thank you :)







Also tagged with one or more of these keywords: customization, background-image, browser specific css