where do i add code to make the header a swf file?
hi all,
i'm trying to make my header a swf file. on which page(s) or file(s) do i add code to include a swf? thanks, evie |
search the forums
see http://forum.bytesforall.com/showthr...ght=header+swf |
thanks for your reply. i have searched through the forums and am still very confused. i am not a novice at coding, but i'm also not a professional .... do i add code to the header.php page (which i have already, based on some code found in the forum -- and which didn't work); do i add code to the options pages; and then some forum pages say to add something to css?.... the page you directed me to just has header swf on the home page -- i want it on all pages.
if someone could just let me know the different steps involved in getting a swf to be the header i would be eternally grateful! evie |
You should'nt ahve to make any changes to the theme code, use a new widget area in the header. That is what post #3 in that thread is telling you to do.
So start off by getting the swf to run in a widget, then create a header widget and put your code there. |
ok, thanks again. but now i'm confused about where i add the actual widget. can you help?
evie |
wait, i added the widget area to the header. i'm still not seeing my image.... i'll keep playing with it.
|
remember, first ou add the widget area, then you add a widget into the widget area (in the widget's option of the dashboard)
|
well, i am still not seeing the image. the url is http://ezgsa.com/wordpress. i've done what that thread suggests:
Options->Style and Edit Header Area->Configure Header Area HTML Code: %pages %bar1 <div id="header-container" class="header-image-container"> <?php bfa_widget_area('name=Header Widget Area'); ?> </div> %bar2 Add HTML/CSS Inserts->CSS Inserts Code: /* Adjust the height to accommodate your slideshow */ #header-container{ position:relative; margin:0; padding:0; width:890px; height:200px; background: url(/wordpress/wp-content/themes/atahualpa/images/topnavi.swf) center no-repeat; } |
did you add a widget?? It looks like all you have done is defined the area, now go to the widget options and you should see a new widget area 'Header Widget Area' drag teh text widget there and put your code in.
|
ok, gotcha. only problem is, the widgets page isn't letting me drag anything there. i'll search through the forum for this problem, but do you know anything about it?
thanks, evie |
disable any plugin's you have especially Events-calendar if you have it and try again
|
figured that part out. now just trying to make it all work.
|
juggledad, i really appreciate your patience with me. i am at the text widget now (got it to the new header), and trying to make that work. i've put in the following code:
<div id="header-container"><img scr="http://ezgsa.com/wordpress/wp-content/themes/atahualpa/images/topnavi.swf" height="200px" width="880px"></div> i'm not putting any title in. still not seeing the swf. can you tell me what i'm doing wrong? evie |
ok, changed the scr to src, but now i'm getting some wacko image, that's not what i need. check . it's supposed to look like the header here: http://ezgsa.com
|
sorry, check the image at http://ezgsa.com/wordpress
|
the events calendar pluging is causing a conflict
|
i removed the plug in and now there's no image at all. i don't think that was it.
evie |
juggledad, after my 25th search through the forum today, i finally found someone who had a much easier way of dealing with this. http://www.mydeviceip.com/2009/10/ad...eme-ver-3-4-4/ offers a very simple methodology. it works great.
i do appreciate your assistance! evie |
All times are GMT -6. The time now is 07:05 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.