The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #1  
Old 08-24-2014, 10:23 AM
gal agai's Avatar
gal agai is offline
Junior Member
 
Join Date: Jul 2014
Posts: 3
Default

Change "max-width: 999999px;" for category img in responsive mode to different width


Hello to all,

Please help me if you can

I need to change the size of a category img in responsive mode.....

I normaly use :
@media only screen (min-width: 320px) and (max-width: 480px)

for mobile pohnes.

Thank you,

Gal a

Last edited by Vitaliy Golovin; 08-25-2014 at 12:49 PM.
  #2  
Old 08-26-2014, 07:07 AM
Rick G's Avatar
Rick G Rick G is offline
Ecwid Team
 
Join Date: Jun 2014
Posts: 1,271
Default

Quote:
Originally Posted by gal agai View Post
Hello to all,

Please help me if you can

I need to change the size of a category img in responsive mode.....

I normaly use :
@media only screen (min-width: 320px) and (max-width: 480px)

for mobile pohnes.

Thank you,

Gal a
Hello,

I see that you want pictures of your products and categories in Grid mode for devices that have screen width sizes between 320px and 480px to have width of 280px. I inspected your responsive website here reenherb.co.il and saw your custom CSS code in your store settings, that you tried to apply.

Right now you have this code in your Custom CSS theme:
Code:
@media only screen (min-width: 320px) and (max-width: 480px)
html#ecwid_html body#ecwid_body .ecwid tr{
max-width: 280px;
}
Please replace your code above in Ecwid Control panel > System settings > Design > Custom CSS Themes with my code below and Save the changes:
Code:
@media only screen and (min-width: 320px) and (max-width: 480px) {
table.ecwid-productBrowser-subcategories-mainTable img, td.ecwid-productBrowser-productsGrid-cell table img {
max-width: 280px !important;
}}
If you have any questions, please don't hesitate to ask.
__________________
Ecwid API and App Market Team
Ecwid Developer Website
The Following User Says Thank You to Rick G For This Useful Post:
gal agai (08-26-2014)
  #3  
Old 08-26-2014, 07:26 AM
gal agai's Avatar
gal agai gal agai is offline
Junior Member
 
Join Date: Jul 2014
Posts: 3
Default

Thank you Vitaly.
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:47 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.