Auto height/width and responsive template

Replied by Sindbad on topic Re: Auto height/width and responsive template

Posted 11 years 9 months ago #4036
C'est fait ! :)
by Sindbad

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

Replied by meg on topic Re: Auto height/width and responsive template

Posted 11 years 9 months ago #4569
I need to jump in here because I can't seem to resolve the issue.

I have the situation where the height defaults to the min-height when set to auto / auto. I have Adjust Images set to yes.

When I use Dustin's formula I of auto for width and a percentage for height, I get a full sized image at desktop size but it doesn't scale down.

I haven't changed any css in the slideshow styles.

Here's url: geneva.directrouter.com/~clarkdal
by meg

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

Replied by ced1870 on topic Re: Auto height/width and responsive template

Posted 11 years 9 months ago #4573
Hi
does the demo on joomlack.fr work like you want ? I have set up a percent height and width auto.
Ced

Joomlack Webmaster and Developer

by ced1870

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

Replied by meg on topic Re: Auto height/width and responsive template

Posted 11 years 9 months ago #4575
Yes it does... any idea why the auto width and percent height isn't working for me? I haven't put anything anywhere in pixels, I double-checked that.

the percentage for width that I set is 18.9, and it looks fine until I try scaling it.
by meg

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

Replied by ced1870 on topic Re: Auto height/width and responsive template

Posted 11 years 9 months ago #4578
try with 19% (avoid the comma)
and change the option adjust image to see how it reacts
Ced

Joomlack Webmaster and Developer

by ced1870

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

Replied by dustin5 on topic Re: Auto height/width and responsive template

Posted 11 years 9 months ago #4618
Meg,

A little earlier in the thread I mentioned the javascript files must be altered as well.

You must remove the min-height value from the camera.js and camera.min.js files:
Code:
minHeight: '200px',
should read:
Code:
minHeight: '',

Give that a try and see if it helps.

Dusty
Last Edit:11 years 9 months ago by dustin5
Last edit: 11 years 9 months ago by dustin5. Reason: clarity

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

Time to create page: 0.646 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 434 guests and no members online