| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
header_bg.jpg needs to "stretch" according to resolution settings | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() my header_bg.jpg looks great if the monitor res is set to 1024x768. but on my large monitor with higher res settings the image does not cover the area. a white background is left outside the area of the .jpg image, making some of the speedbar links to disappear (as the speedbar text is white). i looked and couldn't find a fix. please help!!
__________________
/razorblade pro/ v 5.2.21 linux 2.2.29 |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() The easiest way is to set background color for html element containing your head same as jpg main background.
You can also stretch it using javascript if it is insert with <img> tag, but it won't look nice.
__________________
Regards, Piotr Markushin X-Cart PDF Catalog Generator NEW Professional X-Cart Skins Store (7 new skins added in August 2008!) ahedOffice.com - Web 2.0 Online Groupware |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() i could set the background to black. where do i set the header.jpg to center instead of align left?
__________________
/razorblade pro/ v 5.2.21 linux 2.2.29 |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() I can't answer this question without looking at the зфпу.
__________________
Regards, Piotr Markushin X-Cart PDF Catalog Generator NEW Professional X-Cart Skins Store (7 new skins added in August 2008!) ahedOffice.com - Web 2.0 Online Groupware |
|||||||||
#5
|
|||||||
|
|||||||
![]() Did you find out how to center image instead of align left?
If so, please post solution. Thanks,
__________________
All USA Catalog X-Cart Gold 4.1.9 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Quote:
Edit Skin1 / Head.tpl Code:
The background.jpg and Header.jpg files need to uploaded to skin1/images. Note: Your background,jpg image should be the same height as your Header.jpg image and only 1 or 2 pixels in width. See it in action here: www.arnoldcoin.com Al Arnold Coin Exchange
__________________
X-Cart version 4.7.12 Platinum arnoldcoin.com Change is inevitable, except from a vending machine ![]() |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() On your example - You should notice that the border image does not extend all the way across the banner....
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() Quote:
True, my Header.jpg file does not stretch across the entire screen for resolutions higher than 800 pixels in width. One problem is that stretching images tends to distort them. Another is that if your graphic image is wider than their screen resolution, they are stuck using the scroll bar to view the site. ![]() I choose to use a 800 pixel width image and use a background for resolutions greater that 800 pixels. This way I can accommodate the folks that still use low resolution monitors. To properly accomplish this feat, you would capture their screen resolution and load the proper width Header image. This also entails using multiple Header images, one for each different resolution that you plan to support. When I find 26 hours in a day, I shall tackle this problem! Al
__________________
X-Cart version 4.7.12 Platinum arnoldcoin.com Change is inevitable, except from a vending machine ![]() |
|||||||||
#9
|
|||||||
|
|||||||
![]() Moving to Template Editing forum
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|