Keyword

responsive design on k2itemsviewcategory

  • EFFIDOC
  • EFFIDOC's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #121638 by EFFIDOC
Hello,
I display 4 items/row in normal category .
I adapted the css but
for but for mobilephones I would like to display only 2 items for mobile display.


how can I test the width of screen on category.php ?

has anybody aready encountered the same problem ?

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago - 10 years 10 months ago #121639 by Lefteris
Replied by Lefteris on topic Re: responsive design on k2itemsviewcategory
You can just override the width for smaller screens through the itemContainer class in your css. Locate the media query for smaller screens, in your template's css file, and add .itemContainer {width:50% !important;} for example.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum