#171 Posted in ‘Showtime Image Gallery’

Latest post by Lefteris Kavadas on Monday, 28 May 2018 22:17 EEST

Martin Beneš
Could you add the number of columns to the default theme?

Lefteris Kavadas
Hi,

We will consider adding this to the future. Until then you can just create a CSS override and change the number of columns. Here is the basic code you need to change the number of columns for different viewport widths:
.showtime-default .showtime-image {
  width: 100%;
}
@media (min-width: 576px) {
  .showtime-default .showtime-image {
    width: 50%;
  }
}

@media (min-width: 768px) {
  .showtime-default .showtime-image {
    width: 33%;
  }
}

@media (min-width: 992px) {
  .showtime-default .showtime-image {
    width: 25%;
  }
}


Let me know if you need more help with this.

Regards

Martin Beneš
Hi Lefteris,
thanks - this is simple and effective solution.
Martin

Lefteris Kavadas
Have you tried the code? Does it solve your issue?

Let me know if you need more help.

Regards

Martin Beneš
Yes, it works well. Thanks.

Lefteris Kavadas
You are welcome.

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review