Adding a flash banner into theme
-
Hi there
I am hoping you can help me with my website – Lucky Lunchtime. I am using the Tigopedia Reloaded 2.0 theme.
A client has asked me to insert the following flash banner, which lives at the following link – https://www.luckylunchtime.com/wp-content/themes/tigopedia-reloaded/images/NewVersion.swf. It shows up fine at this location.
I have followed some previous advice and inserted the following headerbanner code into the header (just the line underneath the closing of the logo div)
<div class="page"> <div class="header"> <div class="logo"> <h1><a class="blog-name" href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> <p class="blog-description"><?php bloginfo('description'); ?> </div><!--logo--> <div class="headerbanner"></div> </div><!-- header -->
I have styled the headerbanner in the stylesheet as follows (this is partly guessing – using the logo stylesheet as a guide as this came with the theme and works fine)
.headerbanner { background:url('images/NewVersion.swf') no-repeat right top; height:60px; float:right; width:468px; margin:0; }
All that happens when I put this code in, is that the first row of buttons – Competitions/About us/Winners/etc – gets pushed down slightly and messed up, but no banner actually shows. I also have no idea what the no-repeat right top does. The logo had no-repeat left top in it, so I decided just to amend this to ‘right’. Might this be the source of all my problems?
I have had to change the live page back to the original code for now as it’s live. Any help anyone could provide on this would be much appreciated – as you can probably tell I’m a total noob at WordPress!
Thanks
Lauren
- The topic ‘Adding a flash banner into theme’ is closed to new replies.