Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   where do i add code to make the header a swf file? (http://forum.bytesforall.com/showthread.php?t=4882)

evieao Dec 14, 2009 08:29 PM

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

juggledad Dec 15, 2009 04:37 AM

search the forums
see http://forum.bytesforall.com/showthr...ght=header+swf

evieao Dec 15, 2009 07:10 AM

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

juggledad Dec 15, 2009 07:46 AM

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.

evieao Dec 15, 2009 10:31 AM

ok, thanks again. but now i'm confused about where i add the actual widget. can you help?

evie

evieao Dec 15, 2009 10:32 AM

wait, i added the widget area to the header. i'm still not seeing my image.... i'll keep playing with it.

juggledad Dec 15, 2009 10:37 AM

remember, first ou add the widget area, then you add a widget into the widget area (in the widget's option of the dashboard)

evieao Dec 15, 2009 10:45 AM

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;
}

juggledad Dec 15, 2009 11:13 AM

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.

evieao Dec 15, 2009 12:06 PM

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

juggledad Dec 15, 2009 12:11 PM

disable any plugin's you have especially Events-calendar if you have it and try again

evieao Dec 15, 2009 12:21 PM

figured that part out. now just trying to make it all work.

evieao Dec 15, 2009 12:39 PM

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

evieao Dec 15, 2009 12:55 PM

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

evieao Dec 15, 2009 12:56 PM

sorry, check the image at http://ezgsa.com/wordpress

juggledad Dec 15, 2009 03:06 PM

the events calendar pluging is causing a conflict

evieao Dec 15, 2009 03:49 PM

i removed the plug in and now there's no image at all. i don't think that was it.

evie

evieao Dec 15, 2009 05:44 PM

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.