Quote:
Originally Posted by Bob_R
What additional.css file? These are the 4 files listed on Step 1 of the instructions.
countdown/js/jquery-1.4.1.js
countdown/js/jquery.lwtCountdown-1.0.js
countdown/js/misc.js
countdown/style/main.css
Secondly, take the line of code you mentioned out? And more importantly where is it? I don't see it.
Thanks.
|
I took the code from the main.css file and added it into the additional.css template - AdminCP > Styles & Templates > Style Manager > Edit Templates > CSS Templates > additional.css
Code:
#countdown {
height: 46px;
padding: 2px 0 2px;
}
.dash {
border-left: 1px solid #5C7099;
float: left;
height: 44px;
margin-left: 10px;
padding-left: 10px;
position: relative;
width: 28px;
}
.first {
border-left: 0 none;
margin-left: 12px;
padding-left: 0;
}
.dash .digit {
color: #5C7099;
float: left;
font-family: Arial,sans-serif;
font-size: 24px;
font-weight: bold;
position: relative;
}
.dash_title {
bottom: 0;
color: #5C7099;
display: block;
font-family: Arial,sans-serif;
font-size: 9px;
letter-spacing: 0;
position: absolute;
right: 2px;
text-transform: uppercase;
}
After doing that I don't need the code below from the countdown block code - it may appear several times depending on how many countdowns you have appearing
Code:
<link rel="Stylesheet" type="text/css" href="countdown/style/main.css"></link>
Also, I'm already running a version of jquery so I don't need to call on it in the countdown block template either so I removed this code.
Code:
<script language="Javascript" type="text/javascript" src="countdown/js/jquery-1.4.1.js"></script>