Code to follow to put rotating banner in isn’t in script please help

This topic contains 8 replies, has 3 voices, and was last updated by  saloni 8 months, 1 week ago.

Viewing 9 posts - 1 through 9 (of 9 total)
Author Posts
Author Posts
May 10, 2012 at 9:42 am #3439

katsarayuki

I’m trying to follow the instructions to put a rotating banner into my site. I’ve uploaded the unzipped file, made my images that are going to go in the only problem is that the code the tutorial tells you to put the script before and after isn’t in my css code. Could someone please help with this. I want it at the top please.

My css code is

Thanks in advance

/* ————————————————–
CSS Document For Leaves v1.0 – Anthonyy @ OSWD.org
————————————————– */

/* CONTAINER */

    #container {
        width: 750px;
        margin: 0 auto;
        font-family: Lucida Grande, Tahoma, Arial, Helvetica, sans-serif; /* Lucida Grande for the Macs, Tahoma for the PCs */
        font-size: 11px;
        line-height: 1.6em;
        color: #666;
        background: #FFFFF0;
    }

/* GENERAL MOJO AND MULA */

    h1 {
        font-family: Arial, Helvetica, sans-serif;
        font-weight: normal;
        font-size: 32px;
        color: #0053a1;
                    margin: 0 0 9px;
                    height: 90px;
        background: #FFFFF0;
        line-height:1.5;
    }

    h2 {
        color: #666666;
        font-size: 16px;
        font-family: Arial, Helvetica, sans-serif;
        background: #FFFFF0;
        line-height:1.5;
    }

    a {
        color:#0053a1;
        text-decoration: none;
    }

    a:hover {
        color:#0053a1;
        background-color: #F5F5F5;
    }


    form {
        font-size: 11px;
    }

    input {
        background-color: #FFF;
        color: #999999;
        border: 1px solid #CCC;
        font-size: 11px;
        padding: 3px;
    }

    .button {
        padding: 2px;
    }

/* HEADER ELEMENTS */

    #header {
        border-bottom: 4px solid #948979;
        padding-top: 10px;
        clear: both;
        margin-bottom: 10px;
    }


    /* the slogan */
    #header p { 
        margin-top: -20px;
        margin-left: 30px;
        color: #999999;
    }

/* NAVIGATION ELEMENTS */

     #navigation ul {
        margin-left: 0;
        padding-left: 0;
        list-style-type: none;          
        float: left;
        width: 140px;
    }

    #navigation a {
        display: block;
        padding: 5px;
        width: 140px;
        border-bottom: 1px solid #CCC;
    }

    #navigation a:link, #navlist a:visited {
        color:#0053a1;
        text-decoration: none;
    }

    #navigation a:hover {
        background: #000000 url(arrow.gif) 96% 50% no-repeat;
        background-color: #F5F5F5;
        color:#0053a1;
    }
    #active a:link {
        background: #000000 url(arrow.gif) 96% 50% no-repeat;
        background-color: #e4e4e4;
        color:#CC6714;
    }
    #active a:hover {
        background: #000000 url(arrow.gif) 96% 50% no-repeat;
        background-color: #e4e4e4;
        color:#CC6714;
    }
    #active a:visited {
        background: #000000 url(arrow.gif) 96% 50% no-repeat;
        background-color: #e4e4e4;
        color:#CC6714;
    }

/* THE SMALL BOX BELOW NAV */

    #navigation p {
        margin-top: 40px;
        padding: 5px;
        border-bottom: 1px dotted #CCC;
        border-top: 1px dotted #CCC;
    }

/* CONTENT ELEMENTS */

    #content {
        float: left;
        width: 560px;
        min-height:400px;
        height:auto !important;
        height:400px;
        margin-left: 40px;
        overflow-x:visible !important;          
        overflow-x:hidden;
    /*  margin-right: 200px;  */
    }

    #content p {
        line-height:1.5;
    /*  padding-bottom: 10px; */
    /*  border-bottom: 1px solid #DDDDDD; /* A faint grey line below the text */  */
    }

/* SIDEBAR ELEMENTS */

/* FOOTER ELEMENTS */

    #footer {
        margin-top: 20px;
        clear: both;
        background: #FFFFF0;
        padding: 0px 5px 0px 5px;
    }

    #footer p {
        color:#89817f;
        padding: 5px;
    }

    #footer p a {
        color: #89817f;
        border-bottom: 1px dotted #89817f;
    }

    #footer p a:hover {
        color: #FFFFFF;
        background: #070f11 url(Colourful-Bubbles-478546.jpeg);
    }

    /* And they lived happily ever after. The End. */



    /****************************** flyout menus ******************************/

    #weebly-menus .weebly-menu-wrap {
        z-index: 5000;
    }

    #weebly-menus .weebly-menu {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    #weebly-menus .weebly-menu li {
        float: left;
        clear: left;
        width: 170px;
        text-align: left;
    }

    #weebly-menus .weebly-menu li a {
        position: relative;
        display: block;
        width: 100%;
        background: #e4e4e4;
        border-right: 1px solid #e4e4e4;
        border-left: 1px solid #e4e4e4;
        border-bottom: 1px solid #ccc;
        text-decoration: none;
        font-family: Lucida Grande, Tahoma, Arial, Helvetica, sans-serif; /* Lucida Grande for the Macs, Tahoma for the PCs */
        font-size: 11px;
        font-weight: normal;
        line-height:1;
        height:22px;
        padding:3px 3px 3px 3px;
        color: #cc6633;
    }

    #weebly-menus .weebly-menu li a:hover {
        background: #d4d3d3;
    }

    #weebly-menus span.weebly-menu-title {
        display: block;
        padding: 5px 10px;
    }

    #weebly-menus span.weebly-menu-more {
        background: transparent url(http://images.weebly.com/weebly/images/submenu_arrow.gif) no-repeat center top;
        display: block;
        position: absolute;
        right: 5px;
        top: 0;
        font-family: Courier;
        height: 28px;
        line-height: 28px;
        padding:1px 0 3px 0;
    }
May 11, 2012 at 8:22 am #3489
Raju Nunna
Raju Nunna

The code from Step 4 of Nivo Slider For Weebly tutorial will go into index.html file found in html files which can be accessed from “Design –> Edit HTML/CSS” on the left hand side.

And the part from Step 5 will go into Header Code under “Settings” tab.

May 12, 2012 at 11:31 am #3531

saloni

I have the same problem but it does not works…..Plez help!
I was very excited to put it on my site,Plzzzzz hellllp!

May 12, 2012 at 2:15 pm #3534
Raju Nunna
Raju Nunna

@saloni

Which step do you have trouble with ? What is your url ?

May 12, 2012 at 11:23 pm #3538

saloni

Actually i can’t find the codes mentioned in my sites css/html….. My site’s url is danceinvaranasi.weebly.com ! These are the codes that I find in main-style.css: ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input{ margin:0; padding:0; } ul{ list-style:none; } fieldset{ border:0; } a img{ border:0; } .clear{ clear:both; }

body { background: #421107 url(bodybg.jpg) bottom center no-repeat; font-family: Georgia, arial, sans-serif; font-size:12px; color:#666666; height: 100%; margin:0; padding:0; }

a{ color: #421107; text-decoration: none; } p { line-height: 170%; color: #222222; font-size: 13px; padding: 5px 0px 5px 0px; } h1 { font-size:30px; font-weight:bold; color:#2d1300; line-height:1.5; padding: 5px 0px 5px 0px; } h2 { font-size:30px; color:#2d1300; font-family: Georgia, arial, sans-serif; line-height:1.5; font-weight: normal; padding: 5px 0px 5px 0px; }

wrapper {

background: url(wrapperbg.jpg) top center no-repeat;

}

container{

width: 960px;
margin: 0 auto;
background: url(containerbg.jpg) top no-repeat;

}

.title{ width: 507px; height: 131px; float: left; padding: 0px 0px 46px 153px; font-size: 36px; }

.title, .title a { color: #2d1300; }

header{

width: 240px;
height: 160px;
float: left;
z-index: 1;

}

.weebly_header{ background: url(%%HEADERIMG%%) no-repeat; }

navigation{

font-family: Georgia;
position: relative;
width: 915px;
height: 52px;
z-index: 2;
clear: both;
padding: 30px 0px 0px 45px;

}

navigation li{

float: left;
z-index: 2;
padding: 0px 45px 0px 0px;

}

navigation li a{

position: relative;
display: block;
color: #dba963;
font-size: 18px;
z-index: 2;
font-variant: small-caps;
text-decoration: none;

}

navigation li a:hover{

color: #f4cf9f;
text-decoration: underline;

}

navigation li#active a{

color: #f4cf9f;
text-decoration: underline;

}

weebly-menus .weebly-menu-wrap { z-index: 5000; }

weebly-menus .weebly-menu { padding: 0; margin: 0; list-style: none; } #weebly-menus .weebly-menu li { float: left; clear: left; width: 168px; text-align: left; } #weebly-menus .weebly-menu li a { position: relative; display: block; width: 150px; background: #d7a86d; border-top: none; border-bottom: 1px solid #421107; border-right: none; border-left: none; text-decoration: none; font-size: 12px; font-weight: normal; line-height:1; padding: 8px 6px 8px 12px; color: #2d1300; } #weebly-menus .weebly-menu li a:hover { background: #421107; color: #dba963; }

content{

width: 768px;
clear: both;
height:auto !important;
min-height:600px;
padding: 60px 96px 10px 96px;
background: url(contenttop.jpg) top no-repeat;

}

contenttop{

width: 960px;
background: url(contentbg.jpg) repeat-y;

}

contentbtm{

width: 960px;
padding: 0px 0px 145px 0px;
background: url(contentbtm.jpg) bottom no-repeat;

}

footer{visibility:hidden;

width: 900px;
font-size: 16px;
font-weight: bold;
text-align: center;
padding: 30px 30px 10px 30px;
margin: 0px 0px 10px 0px;

}

footer, #footer p{

color: #dba963;

}

footer a{

color: #f4cf9f;
text-decoration: underline;

}

And these are the codes that I find in index.html:

{title}

May 13, 2012 at 12:42 am #3540

saloni

I want this Transaction

</p>

<p>jQuery(window).load(function() {
    jQuery('#slider').nivoSlider({effect:'fold'});
});

May 13, 2012 at 12:08 pm #3542
Raju Nunna
Raju Nunna

You will see the following line in your index.html

<div id="content">{content}</div>

Step 4 goes above it.

Code From Step 5 goes in “Header Code” accessed from “Settings -> SEO -> Header Code”

May 14, 2012 at 3:09 am #3562

saloni

@Raju

Thank You for the help!

September 16, 2012 at 5:37 am #5945

saloni

http://www.vastuvihar.co.in

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.