Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

CSS not making sense

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-11-2009, 12:53 PM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default CSS not making sense

I have installed 4.2 in a test area on my server.

Now I know I am one of the more dull tools in the shed when it comes to CSS, but this new layout in 4.2 is not clicking.

For example there are classes such as HeadLine and HeadLogo in the head.tpl I cannot find any of these classes in main.css

Would someone be kind enough to pop me in the head so the bats come off of their perches.

Thanks,
Mike
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #2  
Old 02-11-2009, 03:09 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: CSS not making sense

Do you have this tool? Essential to work with CSS.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-11-2009, 03:42 PM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: CSS not making sense

Balinor,
I have used several different editors and used the find on all of them and in my main.css file there is not a HeadLine or HeadLogo anywhere in the doc.

I have used Firebug and still cannot find the HeadLine class or the HeadLogo life in version 4.1.xx of the skin1 file.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #4  
Old 02-11-2009, 04:06 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: CSS not making sense

Are you sure head.tpl is the file that is actually being used? There are some 'remnants' of 4.1 files in the structure that aren't actually being used.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 02-11-2009, 04:35 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: CSS not making sense

Yep, head.tpl is a remnant from 4.1.x. 4.2 uses customer/head.tpl.

One thing I have found is that before editing a file, see if there is a "duplicate" in either the customer folder or admin folder before you begin. I'm still trying to figure out why the "old" templates are still there, and I can't come up with a reason other than to confuse people.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #6  
Old 02-11-2009, 06:36 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: CSS not making sense

Not to confuse people but probably no one bothered to delete these files after trying to split up admin from customer sections.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 02-12-2009, 12:48 AM
 
computerclone computerclone is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 36
 

Default Re: CSS not making sense

Finally a 4.2 Forum.. Ya !

I need help... Ive been wasting 2 days with the css in this version.. 3800 lines plus 6 other files.

http://betterwayhealth.com/42/home.php?cat=249 views fine in FF after much much work

IE is the problem

The header is at the bottom.. Now I must admit.. I kinda like it down there but I would at least need another head at the top of the website...
__________________
X-Cart Gold 4.31, 4.23 and so and so forth...
Add-on: X-Affiliate
Add-on: X-Configurator
Add-on: X-RMA (Return Merchandise Authorization)
Add-on: X-FeatureComparison
Add-on: X-SpecialOffers
Add-on: X-AOM (Advanced Order Management)
Tabs for product pages

www.definedmedia.com
Reply With Quote
  #8  
Old 02-12-2009, 03:24 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: CSS not making sense

Code:
#header{position:absolute;top:0px;left:0px} #page-container{position:relative}
That's all
__________________
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
Reply With Quote

The following user thanks Victor D for this useful post:
computerclone (02-12-2009)
  #9  
Old 02-12-2009, 08:52 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: CSS not making sense

Quote:
Originally Posted by cflsystems
Not to confuse people but probably no one bothered to delete these files after trying to split up admin from customer sections.

That sounds like the first thing to do with 4.2.1 Of course anyone upgrading will already have the unused templates already in their folders.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #10  
Old 02-13-2009, 06:51 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: CSS not making sense

Nice try on the not bothering to delete idea but this was a fresh install in a test domain. So the new version has tpl files in it that belong to nothing.

Don't get me wrong here as I love X-cart, but this new release seems to have been thrown together to get it release by a certain date.

I am just trying to do a new layout and be ready once we get a version that is deemed "stable".

Also in this new version in the install it comes up with an error but allows you to continue the install. It wants you to change the following in the php.ini

allow_url_fopen = Off

change to, for example:

allow_url_fopen = On

This is something that affects my hosting company servers throughout their system and is not specific to our domain. Can anyone explain what this is and if it is 100 necessary? My hosting company tells me this will is a security issue on their end and will not change it.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:23 AM.

   

 
X-Cart forums © 2001-2020