SMFHacks.com

SMF Gallery Pro => Support => Topic started by: Michel68 on August 26, 2016, 09:03:18 am

Title: Responsive Themes
Post by: Michel68 on August 26, 2016, 09:03:18 am
I am trying some Responsive Themes which are realy nice and good for our tablet and android users, but if you click than on Gallery, the Images are complete overlapped and not usable. Is there any chance to have a Gallery css layout which are working on such themes too ?
Title: Re: Responsive Themes
Post by: SMFHacks on August 26, 2016, 09:08:05 am
Not a chance at the moment. Maybe when SMF 2.1 final is released.
Title: Re: Responsive Themes
Post by: Mike66 on November 19, 2016, 11:02:24 am
Same question really ....... my forum is responsive and the only thing that let's it down is the gallery  :(

Can't we add something like this in the CSS somewhere?

img, video, iframe
   {
      max-width: 100%;
      margin: 0 auto;
   }

This works well for just about everything else, but I've no idea where to add it in the gallery side of things. Can you help?

Best wishes
Mike
Title: Re: Responsive Themes
Post by: SMFHacks on November 19, 2016, 12:15:37 pm
You would add it to the main css file for the theme.
The gallery does not have its own css files.
Title: Re: Responsive Themes
Post by: Mike66 on November 19, 2016, 12:39:24 pm
Thanks for your reply ..... I have it in my theme CSS, but it works for every image except those in the gallery?

Best wishes
Mike
Title: Re: Responsive Themes
Post by: Mike66 on November 19, 2016, 12:52:01 pm
If we use the 'HTML Link' from a gallery image and insert this in a post, the image displayed is responsive.

The same image displayed on the gallery page is not responsive. The category thumbnail page is not responsive either.

Since a gallery image can be responsive in a post, I can't help thinking that this should also be possible within the gallery somehow?

Best wishes
Mike
Title: Re: Responsive Themes
Post by: SMFHacks on November 19, 2016, 02:23:05 pm
I don't really much experience with css/responsive other than using existing frameworks.The gallery is table based at the current time. Looking into SMF 2.1 if it moves to responsive.
Title: Re: Responsive Themes
Post by: Mike66 on November 22, 2016, 11:37:26 am
OK ..... thanks for your replies  :)

Best wishes
Mike