k2store resized view

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Mar 16, 2014 10:06 am
Reply with quote
Report this post
siteview.jpg
I have the bikestore with k2store (joomla 3) and setup in three columns just to look more like virtuemart, but when i resize the browser i experience what you see in the photo.Is there anyway to make items go to the next line when they reach that size (mobile view)?
User avatar
Fresh Boarder

GK User
Mon Mar 17, 2014 8:01 am
Reply with quote
Report this post
Could You please post an url to your site?
User avatar
Moderator

GK User
Thu Mar 20, 2014 12:20 pm
Reply with quote
Report this post
Thank you for the quick response. I have just uploaded the website so i'll give you the URL. It's www.rinatgreece.gr .
There is a general problem on how to put the products.if a title is more than 1 line the photo goes i line down and meshes the whole view.
User avatar
Fresh Boarder

GK User
Mon Mar 24, 2014 6:34 pm
Reply with quote
Report this post
Please edit: /templates/gk_bikestore/css/override.css and add at its end:
Code: Select all
@media (max-width: 1100px) {
    #k2Container header h2 {
        font-size: 28px;
    }
}

@media (max-width: 900px) {
    #k2Container header h2 {
        font-size: 20px;
    }
}

@media (max-width: 500px) {
    #k2Container header h2 {
        font-size: 16px;
    }
}

What id does- it changes font size when screen is less than 1100px, 900px and 500px - you can adjust the steps, add your own and modify font size to your taste.
Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Thu Mar 27, 2014 4:51 pm
Reply with quote
Report this post
I'm sorry but this doesn't fix the problem entirely. This changes the headers but the real problem is when the resize gets to mobile view. I 'd like to have something exactly like what happens in the menu of the template on K2->Latest items (two columns) of the demo template , where the items don't squeeze each other, but move to the next line.
User avatar
Fresh Boarder

GK User
Sat Mar 29, 2014 10:25 am
Reply with quote
Report this post
You might try adding this code:
Code: Select all
@media  (max-width: 840px) {
  #k2Container .itemList #itemListLeading .itemContainer {   
    width: 50% !important;
  }
}
User avatar
Moderator

GK User
Tue Apr 01, 2014 4:08 pm
Reply with quote
Report this post
This was really helpful!Thanks alot!
User avatar
Fresh Boarder

GK User
Wed Apr 02, 2014 3:08 pm
Reply with quote
Report this post
No problem,
If You will have any other questions, feel free to post new forum threads.
User avatar
Moderator


cron