| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#21
|
|||||||
|
|||||||
Re: Head Logo
Yup, Victor is right, I just did this in mine, I ripped the width and height tags out of main.css completely, they are not needed. It is not very smart of x-cart to include stuff like this by default. They should just have a "company logo" part of the admin panel where you set the logo for each size necessary and it makes all the adjustments.
__________________
X-Cart 4.5.4 Gold (Live Business Site) X-Cart 5.1.9 Business (In Development Now) |
|||||||
#22
|
|||||||
|
|||||||
Re: Head Logo
OK, I hate to be ignorant, but I'm new to smarty, etc.
How do I change the width from 100% to 900 or another fixed width? This doesn't work: {* $Id: rectangle_top.tpl,v 1.26 2008/08/21 09:52:40 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} <table class="Container" cellpadding="0" cellspacing="0" width="{$width|default:900px}"> <tr><td class="Container"> I'm sure I'm missing something....
__________________
4.2 My site Fancy Categories 4.2 Customer site Fancy Categories |
|||||||
#23
|
|||||||||
|
|||||||||
Re: Head Logo
its in the CSS file.
__________________
xcart 5.1.2 |
|||||||||
#24
|
|||||||||
|
|||||||||
Re: Head Logo
If you are dealing with version prior to 4.2 just edit skin1/customer/home.tpl
find there the line Code:
and change to Code:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#25
|
|||||||
|
|||||||
Re: Head Logo
It's not in /rectangle_top.tpl ?
v 4.2
__________________
4.2 My site Fancy Categories 4.2 Customer site Fancy Categories |
|||||||
#26
|
|||||||
|
|||||||
Re: Head Logo
OK, I checked main.css for any width that looked like it should be global and I couldn't find anything.
I just want to make the site a specific width in 4.2 but I'm having no luck. This should be easy.... I can't find any other forum postings that explain this for 4.2.
__________________
4.2 My site Fancy Categories 4.2 Customer site Fancy Categories |
|||||||
#27
|
|||||||
|
|||||||
Re: Head Logo
So in relation to the head logo width and the whole website width in 4.2 I am now being a dork and adding to my last 2 posts.
In the main.css file at the top I did see a height tag, so I added a fixed width tag and now have a fixed width site, but it is somehow set to the left of the screen. Here is how I added the html (the align: center tag does nothing): /* general tags styles */ html,body { align: center; height: 100%; width: 900px; background: #180000 url(images/golfsunsetshot.jpg) no-repeat; margin: 0px; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; min-width: 780px; border: 0px none; } Any ideas?
__________________
4.2 My site Fancy Categories 4.2 Customer site Fancy Categories |
|||||||
#28
|
|||||||||
|
|||||||||
Re: Head Logo
the width should be controlled by page-container
#page-container { min-height: 100%; position: relative; width:975px; margin:0 auto 0 auto; } the margin is what centers the page.
__________________
xcart 5.1.2 |
|||||||||
#29
|
|||||||||
|
|||||||||
Re: Head Logo
read this,
bookmark it, love it!!!!!!!!!!!!!!!!!!
__________________
xcart 5.1.2 |
|||||||||
#30
|
|||||||
|
|||||||
Re: Head Logo
Thanks Ashley,
But I added the width:900px; margin:0 auto 0 auto; and it didn't center.
__________________
4.2 My site Fancy Categories 4.2 Customer site Fancy Categories |
|||||||
|
|||
X-Cart forums © 2001-2020
|