Quote:
Originally Posted by Dr. Bogger
Can I use this inside a template file?
PHP Code:
if (\XLite\Core\Request::isMobileDevice())
|
Yes, this is correct code.
Quote:
Is it possible to move/remove <div> sections using CSS?
If so, using what code?
|
Well, if CSS code can accomplish what you need, then you can do this. In order to register CSS code for mobile skin, you can use the condition mentioned earlier (if (\XLite\Core\Request::isMobileDevice())) in the method described here:
http://kb.x-cart.com/display/XDD/Adding+CSS+and+JS+files