Auto height/width and responsive template

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

Posted 11 years 8 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 8 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 8 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 8 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 8 months ago by dustin5
Last edit: 11 years 8 months ago by dustin5. Reason: clarity

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 8 months ago #4619
Yes, that works, Dusty, sorry I missed that and thanks for your help.
by meg

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 8 months ago #4622
Glad it worked for you!

Dusty
by dustin5

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

Time to create page: 0.902 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1189 guests and no members online