Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Responsive CSS

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 08-26-2014, 03:17 PM
 
poloplata poloplata is offline
 

Advanced Member
  
Join Date: Jan 2003
Posts: 34
 

Default Responsive CSS

Where is the file to add @media CSS for phone devices

The @media (max-width:480px) does not affect the page on the Look and Feel > Custom CSS page
__________________
poloplata v5
Reply With Quote
  #2  
Old 08-26-2014, 07:30 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Responsive CSS

Its working for me. I went to Look and Feel -> Custom CSS, checked the box "Use custom css" and added the following:
Code:
@media (min-width: 480px) { #sidebar-first { padding-right: 60px; padding-left: 60px; } }
It did what I expected, added 60px on both sides of the first menu section. Does this not work for you?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 08-26-2014, 08:39 PM
 
poloplata poloplata is offline
 

Advanced Member
  
Join Date: Jan 2003
Posts: 34
 

Default Re: Responsive CSS

needed to put rules for max and min widths

works now
__________________
poloplata v5
Reply With Quote
  #4  
Old 08-26-2014, 08:40 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Responsive CSS

Glad to hear it!
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:51 AM.

   

 
X-Cart forums © 2001-2020