Hi,
That values are added by the PHP of the Core files actually,but no worry there is a way to override those values for the "cart" page.
You can follow my steps to increase the "height" value of facebox popup for the "registration" forms. Lets assume you can want to increase the height from 480px to 580px;
1- Open this PHP file:
ROOt/templates/<yourjoomlatemplate>/html/com_virtuemart/user/login.php
2- At the 38th line (right after:
JHTML::_ ( 'behavior.modal' );)
add these lines below to apply a new CSS declaration in the shopping cart page:
$document = JFactory::getDocument();
$document->addStyleDeclaration('#facebox .content {height: 580px !important; }');
As you can notice, in this new CSS rule declaration, the height value is 580px (originally it was 480px), by this codes, you are actually overriding the 480px by 580px. (the rest will remain the same as original, if you want to override any others, then include them to this new decleration. For instance, you might want to change the width as well, then add your declaration should include the width as well, for instance:
$document->addStyleDeclaration('#facebox .content {height: 580px !important;width:660px !important; }'); got it? (just don't forget to include the
!important parameter to the end for each CSS rule you are overriding.)
3- You manually change the height value of the facebox, but you should also do the same change in the LINKs TAG's as well. For this purpose, look at the 172nd and 178th lines, and find this expression (in both lines):
rev="iframe|480|560"
(the first value represents the height, while the second one represents the width value of the facebox) change it with this:
rev="iframe|580|560"
got it?
From now on, the height of the lightbox will become 580px (rather than 480px). So depends on what you want, you can change make this 580px to any value you would like.
Regards.
Forum Support.