Post by chats » Tue May 04, 2010 3:30 pm

Hello
first of all i want to say thankyou
I have one problem that i am insert a one gif image as banner but it is not display on my website
I write like below
<div class="banner">
<img src="../../image/banner.gif" align="chats" height="245" width="589" />
</div>
Please tell me how can i add banner at my site
it is now on local server
Reply me
Thanking You

Newbie

Posts

Joined
Tue May 04, 2010 12:19 pm

User avatar
Active Member

Posts

Joined
Fri Nov 27, 2009 3:40 pm
Location - Bangkok - Thailand

Post by sash_007 » Fri May 07, 2010 2:35 pm

Go to /catalog/view/theme/your_theme/template/common/header.tpl

and put this

Code: Select all

<div id="banner"></div>
and use css to put image there and place the div after the start of

Code: Select all

<div id="container">

<div id="banner"></div>
like this

New member

Posts

Joined
Wed Apr 28, 2010 10:33 am

Post by tm2025 » Tue May 11, 2010 1:26 am

edited
Last edited by tm2025 on Thu Aug 06, 2020 11:49 pm, edited 1 time in total.

User avatar
New member

Posts

Joined
Tue May 11, 2010 12:14 am

Post by sash_007 » Tue May 11, 2010 4:45 pm

hi it works fine on my store here http://www.webdesigncut.com/store/ dont know why its not working for you can you paste where you pasted the div code in your header.tpl

i guess you forgot to add" #" sign before your banner did you? it should be

Code: Select all

#banner {
   background: url('../image/banner.gif') no-repeat;
   width: 960px;
   height: 215px;
   float: center;
}

New member

Posts

Joined
Wed Apr 28, 2010 10:33 am

Post by tm2025 » Tue May 11, 2010 8:41 pm

edited
Last edited by tm2025 on Thu Aug 06, 2020 11:48 pm, edited 1 time in total.

User avatar
New member

Posts

Joined
Tue May 11, 2010 12:14 am

Post by tm2025 » Tue May 11, 2010 8:41 pm

edited
Last edited by tm2025 on Thu Aug 06, 2020 11:47 pm, edited 1 time in total.

User avatar
New member

Posts

Joined
Tue May 11, 2010 12:14 am

Post by chats » Wed May 12, 2010 12:16 pm

Thank you all of you

Newbie

Posts

Joined
Tue May 04, 2010 12:19 pm

Post by maxisgsm » Fri Dec 03, 2010 8:55 pm

if i put java scripts ...... can it work??

New member

Posts

Joined
Tue May 11, 2010 8:44 am
Who is online

Users browsing this forum: No registered users and 7 guests