Change iframe/modal width

  • Posts: 13
  • Thank you received: 1
11 years 8 months ago #90872

Hi,

The edit billing address information popup accessed from the "Shopping Cart" page is a hard coded width of 450px which is fine. However the same popup as accessed through "Manage Your Addresses" via the account control panel is a width of 760px which leaves a large amount of redundant white space on the right hand side of the content. I've tried using CSS to override this width but then the popup is then no longer centered on the page as I assume this was previously being automatically calculated from the hard code. I've also looked into changing the "x: 760" php values but there seems to be so many of them, which I don't fully understand why and so probably shouldn't be messing around with them.

So I was wondering why is it the same popup's being displayed in different sizes? Is there a way to reduce the width of the 760px popup or if not make the 450px popup wider so they are at least consistent?

Many thanks,


John

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

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #90919

Hi,

You have to edit the view "address / listing" and edit the line from "760, 480, '', '', 'link'" to "450, 480, '', '', 'link'"

The following user(s) said Thank You: veefource

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

  • Posts: 13
  • Thank you received: 1
11 years 8 months ago #90935

Thanks Xavier, that did the trick!

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

Time to create page: 0.055 seconds
Powered by Kunena Forum