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)
-   -   Flash replacement for X-cart Logo, Little Help Needed (https://forum.x-cart.com/showthread.php?t=35731)

jaimwolfe 11-27-2007 01:39 AM

Flash replacement for X-cart Logo, Little Help Needed
 
OK, I have the flash file working, uploaded to my site, and have (had) it displaying like I wanted. The problem is that the flash file is 500px wide x 200px tall, and it screwed everything up (covered up the top of the vertical menus on the left) and such.

I searched, read the guide that Balinor put up on template editing, and still can't figure it out. I know it has to be something in the head.tpl, but cannot find a fix. Any help would be appreciated.

Here is what I had in my head.tpl. I have the CSS "upgrade" skin that BSCE Engineering sold that makes it so it sends the product information to the browser first (mistake in my eyes).

<div id="head_container">
<div id="top_menu">{include file="customer/top_menu.tpl"}</div>
<div id="logo"><a href="{$http_location}">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="200" id="logo3" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="{$ImagesDir}/logo3.swf" />
<param name="quality" value="medium" />
<param name="bgcolor" value="#ffffff" />
<embed src="{$ImagesDir}/logo3.swf" quality="medium" bgcolor="#ffffff" width="500" height="200" name="logo3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object></a></div>
<div id="head_bar">

Xcart 4.1.6
Thanks!
Jaime

jaimwolfe 11-27-2007 02:05 AM

Re: Flash replacement for X-cart Logo, Little Help Needed
 
I did some testing and tried to move things down by adding extra lines into the head.tpl (move the search / location bars down) and all it does is put them behind the stuff lower down on the page (like the vertical menus). It does move them down, but doesn't move the rest of the page down. I guess I need to know where I go to change the size of the header (head.tpl). It appears it's set to take up a specific number of pixels and I can't get that changed.

carpeperdiem 11-27-2007 04:40 AM

Re: Flash replacement for X-cart Logo, Little Help Needed
 
Quote:

I have the CSS "upgrade" skin that BSCE Engineering sold that makes it so it sends the product information to the browser first (mistake in my eyes).

Wow. You truly have no idea what you bought and why it is a great thing! It also sounds like you have little experience with css...

A css skin is a double-edged sword... it solves many problems and gets rid of insane nested tables, but at the same time you are now going to battle nested divs. If you are not prepared to deal with this, you are going to go bonkers.

Let's step back a bit. - you need to look at your css file - .head_container is probably defining some key stuff -- I tried to access your site, but's not loading. At all.

I wouldn't embark on a css project without appropriate tools... and this is where a dreamweaver and/or coda or other css editor can help.

You took a little risk with a css skin, since upgrading is now going to be a bit of a challenge, but your site will be better for it. I routinely eliminate as many tables as I can.. but this makes the templates non-upgradeable.

Time to dig into the css!

Good luck.

jaimwolfe 11-27-2007 11:04 AM

Re: Flash replacement for X-cart Logo, Little Help Needed
 
Carpeperdiem, you are the man! Thanks so much, I figured it out all because of what you said. Sure enough in the cartlab-skeleton.css I can specify the positions of the stuff, I moved them down and it's working great!

I don't know why you couldn't get to the site though. I have verified from several different friends that they can get to it, plus we got another order this morning. Perhaps you could test it again?

Thanks so much once again!
Jaime


All times are GMT -8. The time now is 10:52 PM.

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