Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Custom header widget


  #1  
Old Aug 13, 2011, 09:44 AM
rpfray
 
9 posts · Mar 2010
Firstly, thank you for such an amazing theme. You guys do a great job.

I know this is a custom design so not really an Atahualpa issue, but I'd really appreciate any help.

I'm attempting to include a Google ad in my header, within the logo area, in place of the RSS feeds and search box. Having read various threads I concluded the only way was to recreate the logo area as a custom widget.

I've added the widget and got the ad working, but I have two design problems I can't resolve.

Firstly, I've lost control of the CSS for 'blogtitle'. It's now a different color, size and font weight and I've lost the hover action. Oddly, 'tagline' seems to be fine.

Secondly, I have an annoying space opened up directly below the widget area.

In order to demonstrate this I've left both the custom widget code <?php bfa_widget_area('name=Header Widget'); ?> and %logo in Configure Header Area, so you can see them both side by side on my website. When I've got the widget fixed (hopefully) I'll remove %logo.

My website is: www.birdingbb.com

Here's the code in the widget area (minus the Google code):

Code:
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#6C8200">
  <tr>
    <td width="116"><img src="/wp-content/themes/atahualpa/images/Blue-Grosbeak-logo.jpg" width="109" height="102" /></td>
    <td><h2 class="blogtitle"><a href="http://www.birdingbb.com/">Birding Bed &amp; Breakfast</a></h2>
    <p class="tagline">- Find the best birding accommodation in America</p></td>
    <td width="500"><div align="center"><google-code></div></td>
  </tr>
</table>
Anyone have any ideas about solving either issue?

Thanks
  #2  
Old Aug 13, 2011, 10:48 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Your site sent me to an annoying http://www.webprizegiveaways.com/single-wm-ea which means you have either been hacked if you are not doing this, or have an annoying site that I won't look at to help you fix
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Aug 13, 2011, 02:59 PM
rpfray
 
9 posts · Mar 2010
How embarrassing! I've been hacked. Trying to locate the problem now...
  #4  
Old Aug 14, 2011, 01:16 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
How about just wrapping the ad code in a div and use that instead of a new widget area and position with CSS? You could also just put the table code there without the new widget area.

To get rid of the space adjust the margin on #text-6 which is the widget.

With regards to the blog title did you add any CSS to the CSS Inserts for .blogtitle?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
BUGFIX 361-04: Allow Custom Menu widget links to use same styling as Pages widget. juggledad Old Version fixes and change logs 1 Jan 22, 2011 08:40 AM
Custom widget margin kal Sidebars & Widgets 1 Dec 20, 2010 03:00 PM
css insert for custom widget mythical54 Sidebars & Widgets 4 Nov 14, 2010 09:56 PM
[SOLVED] How to change link color in custom header widget? JFG Atahualpa 3 Wordpress theme 2 Dec 15, 2009 08:25 AM
Custom Header - Inserting HTML table and links over header. hotsauce Header configuration & styling 2 Apr 9, 2009 05:56 AM


All times are GMT -6. The time now is 06:55 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.