X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Why some images on my site do not display on the page (https://forum.x-cart.com/showthread.php?t=19216)

mmoskva 01-12-2006 06:54 AM

Why some images on my site do not display on the page
 
I have some images on my site but some of them do not want to load when I go to the page and then when I start clicking around my site, they appear/disapear?

Is their something I can do.

style="background: url('{$ImagesDir}/top.jpg')

balinor 01-12-2006 06:59 AM

A url would help....

mmoskva 01-12-2006 07:20 AM

Site: http://www.michaelmoskva.com/xcart/home.php

On the right hand side thie is a grey culumn. it should dislpay like this:
Link: http://www.michaelmoskva.com/image20/image.htm

The top and bottom of the image doesnt not always display on the page?

balinor 01-12-2006 07:24 AM

Doesn't appear at all for me. Try this, instead of setting the style in the element itself, try creating a class and adding the class to skin1.css. THis would be the correct way to call the class in skin1.css:

.newclass {background: url(images/top.jpg);}

Then call the class in whatever element you want that background image to appear in:

class="newclass"

Make sure the image is in the skin1/images directory.

mmoskva 01-12-2006 08:04 AM

Can you tell me how I can apply the classes to the three below images?

<TABLE cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
<TR valign="top">
<TD valign="top">
[img]{$ImagesDir}/topimage.gif[/img]</TD>
</TR>
<TR>
<TD width="126" height="100%" style="background: url('{$ImagesDir}/middleimage.jpg')">
[img]{$ImagesDir}/spacer.gif[/img]
</TD>
</TR>
<TR valign="bottom">
<TD valign="top">
[img]{$ImagesDir}/bottomimage.jpg[/img]
</TD>
</TR>
</TABLE>[/b]

balinor 01-12-2006 08:20 AM

Replace this:

<TD width="126" height="100%" style="background: url('{$ImagesDir}/middleimage.jpg')">

with this:

<TD width="126" height="100%" class="newclass">


All times are GMT -8. The time now is 03:39 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.