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 »

[SOLVED] Uploading an image map to header area


  #1  
Old Apr 19, 2012, 03:54 AM
prooffairy
 
73 posts · Oct 2010
[SOLVED] Uploading an image map to header area

I have created an image map for the banner for a site but don't know how to get the bits of the image etc to upload to the theme.

OK I don't know what I'm doing ... I need to make the email part of the banner on smcsolar.co.uk open up an email programme ... I tried creating an image map but now have 6 bits of image and a HTML page and no idea what to do with them!

I tried adding the following to the Overlay Header Image box in the hope I could maybe make it transparent but still clickable but it doesn't show at all:

<div id="email_link">
<a href="mailto:info@smcsolar.co.uk">Email us now</a>
</div>

Could someone please help me work out how to add a link to the far right of the banner so when people click on the email address they can send an email?

Thanks

Last edited by prooffairy; Apr 19, 2012 at 03:57 AM.
  #2  
Old Apr 19, 2012, 04:12 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I would NOT use the built in image, I would add a new widget area to the 'Configure Header Area' then add a text widget to the new widget area and put your code in it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Apr 19, 2012 at 04:15 AM.
  #3  
Old Apr 19, 2012, 04:27 AM
prooffairy
 
73 posts · Oct 2010
Ah thats a good idea ... how can I position the widget so it's roughly where the email bit on the banner is though?
  #4  
Old Apr 19, 2012, 07:32 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Just use separate hyperlinked images and position with CSS.
__________________
~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.
  #5  
Old Apr 19, 2012, 08:24 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
or, edit your image and cut out the email portion. Put just the your image in the 'atahualpa/images/header' folder. Now add your code to the "Image overlay' option
HTML Code:
<div id="email_link">
<a href="mailto:info@smcsolar.co.uk">Email us now</a>
</div>
but change the 'v' to an <img...> that points to the little email section you cut out of the image and then position it with CSS
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Apr 30, 2012, 09:12 AM
prooffairy
 
73 posts · Oct 2010
Really struggling to get this to work. The original banner is there but I've done a second version where I've cut out the area with the email and phone number, uploaded that graphic (email.png) to wp-content/my-images and then put the following code in the Overlay Header area (I kept the format exactly as the example on there, just changed the details)

<div id="header_image_sociable">
<ul>
<li><a href="mailto:theemailaddress@iwanttouse.co.uk">
<img src="/wp-content/my-images/email.png" alt="Email" /></a></li>
</ul>
</div>

And in CSS Inserts I added the following (as in the sample, so I could see where the image appeared and play around with it to get the image position right)

#header_image_sociable {position: absolute; right:40px; top: 20px;}
#header_image_sociable ul {list-style-type: none;}

But the image doesn't appear at all. (Please note that the banner on display now has the email/phone bit on there - because I can' leave it on display without - but the code above should ahve added a second identical graphic somewhere!)

Bookmarks

Tags
header image, image map, link

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't get rid of text in logo image area in header area unadoyle Header configuration & styling 2 Sep 2, 2010 04:43 AM
header image as background image for logo area soni Atahualpa 3 Wordpress theme 8 Apr 2, 2010 03:05 AM
Header image area dropping down over the first post area bushtool Header configuration & styling 2 Sep 16, 2009 12:17 PM
Trouble uploading image in a correct format nrc New Versions, & Updating 1 May 5, 2009 10:43 PM


All times are GMT -6. The time now is 01:30 AM.


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