Welcome, Guest
Username: Password: Remember me

TOPIC: Auto height/width and responsive template

Re: Auto height/width and responsive template 27 Jul 2012 17:25 #4573

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 21350
  • Karma: 427
  • Thank you received: 2699
Hi
does the demo on joomlack.fr work like you want ? I have set up a percent height and width auto.
Ced

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

Joomlack Webmaster and Developer

Re: Auto height/width and responsive template 27 Jul 2012 17:37 #4575

  • meg
  • meg's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
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.

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

Re: Auto height/width and responsive template 28 Jul 2012 06:13 #4578

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 21350
  • Karma: 427
  • Thank you received: 2699
try with 19% (avoid the comma)
and change the option adjust image to see how it reacts
Ced

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

Joomlack Webmaster and Developer

Re: Auto height/width and responsive template 30 Jul 2012 12:37 #4618

  • dustin5
  • dustin5's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 24
  • Thank you received: 3
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:
minHeight: '200px',
should read:
minHeight: '',

Give that a try and see if it helps.

Dusty

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

Last Edit: by dustin5. Reason: clarity

Re: Auto height/width and responsive template 30 Jul 2012 14:33 #4619

  • meg
  • meg's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Yes, that works, Dusty, sorry I missed that and thanks for your help.

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

Re: Auto height/width and responsive template 30 Jul 2012 19:38 #4622

  • dustin5
  • dustin5's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 24
  • Thank you received: 3
Glad it worked for you!

Dusty

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

Re: Auto height/width and responsive template 09 Aug 2012 06:08 #4800

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 21350
  • Karma: 427
  • Thank you received: 2699
Hi
I have updated the module to set the minheight to none in V.1.1.1, so no need to hack it in the future :)
ced

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

Joomlack Webmaster and Developer
Last Edit: by ced1870.
Time to create page: 0.205 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 519 guests and no members online