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)
-   -   dialogue box and general page backgrounds (https://forum.x-cart.com/showthread.php?t=19698)

dprice.sf 02-02-2006 01:48 PM

dialogue box and general page backgrounds
 
I'm trying to make changes to the dialogue or text box which is generated when a static embedded page is created and where the home page text is.

i presume this can be done in the css and in one or more of the template files, but can't see which they are.

balinor 02-02-2006 01:52 PM

Open up the site in Webmaster Mode and you can edit the welcome text on the fly and find out which template is which quite quickly :)

Static pages is customer/main/pages.tpl and home page text is customer/main/welcome.tpl

dprice.sf 02-02-2006 01:57 PM

those tpl files are all smarty - no attributes to change

I'm trying to change the background of the text by including a background image, altering the border around the page text and removing the table color - which seems to default to white.

balinor 02-02-2006 01:59 PM

That's because they use the default dialog.tpl and it's associated styles. If you want those pages to be unique, you will need to create a copy of dialog.tpl and its styles, or just add some custom formatting IN the templates I mentioned.

dprice.sf 03-09-2006 06:18 PM

I've set my css for DialogBox to the following

Code:

.DialogBox {
        background: url("{$ImagesDir}/dialogue_bk.gif") fixed center no-repeat;


The image is a gif that is a transparant screen.

Trouble is its not showing up in my diologue boxes. Theres no background at all.

Ideally, this background image is the background of my dialogue boxes. which is an embedded table that will show thru to another background image.

End result would look like this example.

http://yafah.mikanhandbags.com/homepage.html

DanUK 03-09-2006 11:13 PM

If that piece of code is in the skin.css file then it can't interpret the smarty code {$ImagesDir}. In my css file I have these types of references:

Code:

url('images/item_foot.gif')

which point to skin1/images.

Dan

dprice.sf 03-09-2006 11:16 PM

I also had to change my code in the css to images/ to get it to work


All times are GMT -8. The time now is 07:54 PM.

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