Widget in Header
I am sure I can't be the first to ask but I couldn't find the answer searching.
I am looking to add a widget spot next to my logo at http://www.myjourneytomillions.com (Just a long banner to obviously add an advertiser). I added: Code: Code:
<?php bfa_widget_area('name=headewidget'); ?> and I received the following error: Parse error: syntax error, unexpected '=' in /home/myjourne/public_html/wp-content/themes/atahualpa351/functions/bfa_header_config.php(376) : eval()'d code on line 14 So any help would be appreciated |
Do not double post!
when do you get the error, front end or backend? did you add anything to the widget? |
I apologize for the double post.
The error came upon loading my site. I then returned to my backend to see if there was a new widget to place something/anything in, and there wasn't. |
did you remove the code, I don't see any error. I just copied teh code and pasted it in and get no error. What else do you have in the Configure Header Area?
|
I removed the code since it messed up my header.
My whole header part reads: Quote:
|
I would suggest try again. I put your code in and get no error. It may have been a non-printable character causing an issue
|
Man do I hate feeling stupid! But I just re-did it and it worked, no error no problems.
One last question - How do I put it to the side of the image? Not underneath? Do I have to use div? If so would have to be an absolute sort of like how I have my breakthrough social icons? |
Try placing a CSS insert (Atahualpa Theme Options > CSS Insert) to move it to the side.
Something like: div#headerwidget.bfa_widget_area{ margin-left: 500px; margin-bottom: 70px; } Try playing with the numbers and + or - to achieve the look you like. |
Thanks Wimbledon and Juggledad - any idea why its on the next line? or looks like it is under the logo
|
Play with margin-bottom and/or margin-top to move it up.
|
I had to move the code in front of the %image and it showed up next to it, but the ad is not clickable (regardless if I make the image clickable or not through ATA options)
Any thoughts? Evan http://www.myjourneytomillions.com - if you want to see lol |
items on the page are like transparent sheets of paper and the one on top is the one that the mouse hover works on so you have to move the AD higher in the pile. To do this you use the 'z-index' CSS command, so add 'z-index:5;' to your CSS Insert
|
All times are GMT -6. The time now is 12:59 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.