Stylesheets

General ShopSite user discussion

Stylesheets

Postby moonie » Tue Oct 03, 2006 11:24 am

I have tried to upload a stylesheet to the media directory and I added it to my code, but Its not working for any of my custom templates.
Last edited by moonie on Tue Oct 03, 2006 1:31 pm, edited 1 time in total.
moonie
 
Posts: 13
Joined: Sat Sep 30, 2006 12:36 pm

Postby loren_d_c » Tue Oct 03, 2006 11:41 am

The shopping cart is generally in a cgi-bin directory, or at least in it's own directory, not in your usual document root directory, so you either need to provide a path ro your CSS file relative to the document root of your site or include the full URL to it. Like this:

<LINK href="/media/bodytext.css" type=text/css rel=stylesheet>

or like this:

<LINK href="http://www.yourdomain.com/media/bodytext.css" type=text/css rel=stylesheet>

Note that these are generic examples that you would need to modify for your own situation/URLs.

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

:(

Postby moonie » Tue Oct 03, 2006 12:48 pm

Still not working, Ive changed the link in the custom tempates, and in the header footer sections :( Is there anyplace else I should be looking??

Thanks so much
moonie
 
Posts: 13
Joined: Sat Sep 30, 2006 12:36 pm

Postby psldesigns » Tue Oct 03, 2006 1:22 pm

I use CSS extensively on this site www.smallfrypress.net on each page including the shopping cart and thank you pages. I used the complete URL (just as Loren suggested to you) and that has worked. Verify your folder structure, where you file resides and double check your spelling.

It really does work!
psldesigns
 
Posts: 116
Joined: Wed Aug 16, 2006 7:06 pm
Location: Michigan

could there be something overwriting this??

Postby moonie » Tue Oct 03, 2006 1:30 pm

Look at the header and when you add to cart... even the checkout page.. I have checked the path, it looks right :(

http://evaand.fatcow.com/store/product1.html
moonie
 
Posts: 13
Joined: Sat Sep 30, 2006 12:36 pm

Postby websitewerx » Tue Oct 03, 2006 1:37 pm

You are linking to your own hard drive, not to the server path.

i.e.,

file:///C|/Documents%20and%20Settings/Owner/My%20Documents/eva/store/bodytext.css

That points to your local copy of the file; it needs to point to the css file on the website.

It looks like the link should instead be:

http://evaand.fatcow.com/store/media/bodytext.css
websitewerx
 
Posts: 11
Joined: Tue Aug 29, 2006 10:10 am
Location: Denver, CO

Postby moonie » Tue Oct 03, 2006 1:42 pm

Thanks, but no, actually, that one page, I downloaded through FTP and tried to do the one by one! :) Just to see how it would look, but now I have fixed the custom templates so shouldnt they be overwriting the pages??

:(
moonie
 
Posts: 13
Joined: Sat Sep 30, 2006 12:36 pm

Postby psldesigns » Tue Oct 03, 2006 3:30 pm

Have you regenerated your store . . . the template changes won't show until you do that.
psldesigns
 
Posts: 116
Joined: Wed Aug 16, 2006 7:06 pm
Location: Michigan


Return to User Forum

Who is online

Users browsing this forum: No registered users and 59 guests