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 »

Add clickable ad to header?


  #1  
Old Sep 24, 2010, 02:58 AM
cwikdahl
 
19 posts · Jun 2010
I would like to have an ad for a special offer displayed in the header area, where the red square is in this image:



This should be linked to a page. Is it possible?

I'm still on wp pre 3, and atahualpa 3.4.9. http://enharligsalong.se

Thanks,
Claes
  #2  
Old Sep 24, 2010, 04:44 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Sure, all you need to do is add a widget area to the header and then put a text widget in with your image and a link.

There is even a sample set of settings that was setup with an AD in the header on the left side, but you could use it an a sample to make your setup.

If you want to see it, you will need to import it somewhere BUT BACKUP YOUR SETTINGS FIRST by exporting them (ato->export/import settings->export). You won't be able to merge your settings and the new settings, when you import the new settings, they will wipe out the existing ones.

The best way is to have a test WP install where you could import the AD settings, then you could have two browsers open and copy and paste the settings you need from one site to the other.

One other thing, to import a setting (they are in the 'styles' folder) the folder must be on your local computer, so you will need a copy of the theme locally
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 24, 2010, 09:26 AM
cwikdahl
 
19 posts · Jun 2010
Thanks! Found the adsense style and just copied the needed rows from the text file. Ended up with this:



I will work on making it pretty

This is what the code looks like:

Code:
%logo %bar1 %image %bar1 %pages
<div style="position:absolute;top:78px;right:100px;width:300px;height:100px;background:#fff;border:solid;border:1px;border:#ff9933;">
<!-- Put the ad code BELOW this (and remove the sample text if there is any) -->
<a href="/erbjudanden"><img src="http://enharligsalong.se/images/erbjudanden/headerAd001.jpg" border=0></a>
<!-- Put the ad code ABOVE this -->
</div>
Also added position: relative; to Layout Container Style. Just to make it stick.

Cheers!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATA 3.53 header image not clickable berkleegrad Header configuration & styling 1 Jul 24, 2010 08:42 AM
[SOLVED] Is it possible to have multiple clickable links in the Header or other graph Eric Bobrow Header configuration & styling 18 Mar 31, 2010 04:00 PM
How can I place a rotating/clickable slideshow (SWF etc.) in homepage header (only) ? viewdesigninc Header configuration & styling 4 Mar 31, 2010 01:53 AM
Clickable header image problem Martin1c Header configuration & styling 0 Jan 18, 2010 09:45 AM
Make header image clickable? nfdieter Header configuration & styling 2 Nov 5, 2009 08:09 AM


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


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