Responsive Category Item Layout CSS Rules

GK User
Thu Feb 05, 2015 10:16 am
Hello, the category items layout drops from 3 columns to 1 column at width 640px and under that value.

I would like to have 2 columns instead of 1. I can't figure out which CSS class affects those blocks.

Link: http://gator4199.hostgator.com/~lgt2015/supplements

Any ideas?
Regards
User avatar
Platinum Boarder

GK User
Thu Feb 05, 2015 4:02 pm
Should I navigate to a subpage? Right now on your homepage just above 640px they are only 2 columns.
User avatar
Moderator

GK User
Fri Feb 06, 2015 2:38 am
Hi Cyberek, the link that I gave you is a subpage.

The issue is about a subpage with products, such as this one:
http://gator4199.hostgator.com/~lgt2015/supplements

It goes from 3 columns to 1 column at 658px and below.

Regards
User avatar
Platinum Boarder

GK User
Fri Feb 06, 2015 2:45 am
The new rule should not affect the homepage, only subpages.
User avatar
Platinum Boarder

GK User
Sat Feb 07, 2015 4:57 pm
Code: Select all
@media (max-width: 640px) {
   #k2Container .itemContainer {
      width: 50%!important;
   }
}

This should not affect any element on homepage as there is no element with itemContainer class there.
User avatar
Moderator

GK User
Sat Feb 07, 2015 5:36 pm
Brilliant it works perfectly!

Regards
User avatar
Platinum Boarder

GK User
Sun Feb 08, 2015 3:38 pm
Please let me know if you would have any additional questions regarding this topic.
User avatar
Moderator


cron