View Single Post
  #14  
Old 10-30-2014, 02:17 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: How do I change parts of the skin for mobile browsers only?

Quote:
Originally Posted by Dr. Bogger
Can you point me in the right direction?
I don't think the media css will do what I need.

You can set up the CSS rule like this:

Code:
#sidebar-first { float: none; }

and it will achieve what you need.

Surely, if you want to add this rule depending on the device's width, the code would be something like this:

Code:
@media (max-width: 480px) { #sidebar-first { float: none; } }
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote