#171 – Number of columns to default theme

Status: Closed - Category: Showtime Image Gallery
Could you add the number of columns to the default theme?
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
 
Hi Lefteris,
thanks - this is simple and effective solution.
Martin
Have you tried the code? Does it solve your issue?

Let me know if you need more help.

Regards
 
Yes, it works well. Thanks.
You are welcome.
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

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 .

Note: Our support team is currently on vacation, so please anticipate slightly longer response times. Thank you for your understanding!

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