[SOLVED] How to put a banner in the LOGO-area (between logo and Search)?
Hello,
I am trying to add a php banner <?php MY_BANNER_PHP_CODE} ?> into the Logo Area between Logo and Search form. I have tried to follow the recommendations given by Imilesw here (post #4): He says: Quote:
Quote:
Quote:
Please explain or give an example. Thank you |
When adding a logo to a widget area you don't use %logo as that is just for the native way of adding a logo. In your case if you have php code for the logo you could just add it in place of %logo or if you determine you need a widget area or areas for layout reasons you will then need to put the code in a php aware text plugin.
|
lmilesw, thanks for your advise.
Quote:
So, if I follow the first route you suggested, then I also need to insert php code for EACH of those elements (title, tagline, search box and the RSS/Email icons). Where can I find the code for them? thank you P.S. I am using Atahualpa 3.4.4 and Wordpress 2.9 |
If you create new widget areas you can just use widgets for RSS and Search
|
I spent TWO DAYS, but I've Cracked it!!!!!!!!!!!!!!!!!!! here it is: http://www.travelholidays4u.com
Proposal to the forum administration: ----------------------------------- Dear moderators, I think being able to put banner into the logo area is SOOOOOOOOOO important for anyone, as this is the most valuable AD space one could possible think of and it SO MUCH improves usability and conversion, that I am positive that many people would want to know it. So if you approve, I can send a detailed instruction of how to do it from scratch. I spent more than an HOUR just writing it, so perhaps you may want to have it and make it a sticky post so that other forum members could enjoy the benefit and you will save your valuable time not answering the same questions over and over again. So, if you are interetsed - just let me know and I'll send it as attachment or just post it here. Your choice. |
@daveman - post post post!!! :)
Please. |
Did Daveman ever post to fix??? I need to do the same thing!
|
Quote:
dude post the solution |
he put a widget area in the header with multiple cells, put the logo in one (copied the generated code) his banner in another and the search boxes in another
|
Quote:
i want to be parallel with the search box and blog logo/title www.dsics.co.cc i want to put something beside the "computer science department" and the "search box" thanks |
it doesn't look like you added a new widget area to the header
|
Quote:
i added and tried , it wasn't working , i added again please check .. the problem is it comes down the blog title/tagline , i want it to be parallel with blog title and the search box... thanks |
1) view the source of your page
2) find the section that starts '<table id="logoarea"' 3) copy that entire table to a text document 4) add a three cell new widget area to the 'Configure Header Area' using HTML Code:
<?php bfa_widget_area('name=logo_widgets&cells=3&align=1&align_2=9&align_3=7&&before_widget=<div id="%1$s" class="logo-widget %2$s">&after_widget=</div>'); ?> 6) add three text widgets, one to each of the three new widget areas you have 7) find the <td> that starts '<td class="feed-icons"' and cut that code to the end of the table (the </table>) and put it in the last text widget. Add a <table><tr> as the first row 8) Edit the remaining code and change teh <table...> line to just <table>. Put a </table></tr> at the end and put all this in the first text widget. 9) put your banner code in the middle widget 10) you may want to play with the width of the widget areas (look at the documentation for the 'New Widget Areas') and you may need to do some styling |
thanks a lot !!
will try it and post it as soon as possible !! |
Hi. I'm still not understanding this! My site is www.passionate-heart.com Could you take a look and help me? I have a banner that I want to put in the white area in the header. Please :-)
|
ms35 - your not using Atahualpa, your using the 'bfa roundtabs' theme which hasn't been updated since 2007.
|
I have something I would like to do but I keep breaking my site and having to reinstall the theme, so I don't think playing with code is my specialty *grin*
If you go to my page: http://www.katscafe.org you will see I have a lovely white space up above my header in the logo area. What I would like to do is take the widget from my sidebar that has my social icons in it and place it above the header. (I'll be changing my header to get rid of the icons in it!) Can someone explain to a hopeless newbie like myself how I can accomplish this? |
You could put a new widget area in the header and place your widget there or you could use CSS to position your widget where ever you want. The first issue is having a horizontal layout though.
|
Quote:
I added the code to the logo styling area to add the widget, and the widget came up in my widget area, but nothing shows when I try to move my widget from the sidebar up to that area instead. Did I do something wrong? Thanks a bunch - the helpfulness here has been amazing! Kat |
What kind of widget do you want to show in the header? I am not clear on what you want to do.
|
Quote:
|
Generally to position something like that you give it a position:relative or perhaps a position:absolute depending on the situation and than use top, bottom, left, or right to position it where you want.
|
Thanks a bunch! I think I've got it figured out, though I am still fine-tuning it. Thanks so much for all your help, guys - I really appreciate it!
|
All times are GMT -6. The time now is 11:43 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.