Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Previous Page
Author « Topic »
Page: of 2

Vince
Administrator

42874 Posts

Posted - 03/16/2021 :  04:29:52  
Yes, that looks to be a mistake and you can delete the js subdirectory. But what you need to do is reference the ectcart.js and ectcart.css files in the head section of the page like this...

<link rel="stylesheet" type="text/css" href="/css/ectcart.css"/>
<script src="/js/ectcart.js"></script>

There are more details here...
https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107040

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 03/16/2021 :  13:46:30  
Hi Vince
I just have the one test page at the moment so I would like to place the code directly into that page for a test.
The head code is
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script>
ect_megamenu('#FFF');
</script>
<link rel="stylesheet" type="text/css" href="/css/ectcart.css"/>
<link rel="stylesheet" type="text/css" href="/style.css"/>
<link href="css/ectstyle.css" rel="stylesheet" type="text/css">
<link href="css/ectcart.css" rel="stylesheet" type="text/css">
<link href="js/ectcart.js" rel="stylesheet" type="text/css">
</head>

Can you suggest where to place
<link rel="stylesheet" type="text/css" href="/css/ectcart.css"/>
<link rel="stylesheet" type="text/css" href="/style.css"/>

Thank you
John

dbdave
ECT Moderator

USA
10468 Posts

Posted - 03/16/2021 :  14:17:39  
Hi John, you already have them there...

quote:
The head code is
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script>
ect_megamenu('#FFF');
</script>
<link rel="stylesheet" type="text/css" href="/css/ectcart.css"/>
<link rel="stylesheet" type="text/css" href="/style.css"/>
<link href="css/ectstyle.css" rel="stylesheet" type="text/css">
<link href="css/ectcart.css" rel="stylesheet" type="text/css">
<link href="js/ectcart.js" rel="stylesheet" type="text/css">

</head>


But you also need to make sure those referenced files are in those locations.
You also only to reference each only once!
<link rel="stylesheet" type="text/css" href="/css/ectcart.css"/> is there twice
<link href="css/ectcart.css" rel="stylesheet" type="text/css"> AND
<link rel="stylesheet" type="text/css" href="/css/ectcart.css"/> are the same!

These two
<link rel="stylesheet" type="text/css" href="/style.css"/>
<link href="css/ectstyle.css" rel="stylesheet" type="text/css">
should go after the ectcart.css reference so any changes you make there will take precedence over the ectcart.css file.

Place them like this would be my advice.


<link href="css/ectcart.css" rel="stylesheet" type="text/css">
<link href="js/ectcart.js" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="/style.css"/>
<link href="css/ectstyle.css" rel="stylesheet" type="text/css">

David

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 03/17/2021 :  02:51:05  
Hi David,

I think I begin to see the light!

Thanks
John

dbdave
ECT Moderator

USA
10468 Posts

Posted - 03/17/2021 :  14:02:18  
Page: of 2 « Topic »  
Previous Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000