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 Alt text to Header Image


  #1  
Old Aug 28, 2013, 10:31 AM
IndieJack
 
12 posts · Aug 2013
Users Add Alt text to Header Image

How do I add an "Alt" tag to the Header Logo? By making the image clickable the "Title" tag is added but I can't find where to add the "Alt" tag.
  #2  
Old Aug 28, 2013, 10:51 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The alt tag is automatically set to the 'Site Title' (dashboard->settings->general->site title)

If you want it something else, you will have to edit the theme code in bfa-header-config.php in the 'logo' section.
  #3  
Old Aug 28, 2013, 11:05 AM
IndieJack
 
12 posts · Aug 2013
Thanks, Juggledad, According to the code I'm seeing there is no "Alt" tag on my logo image. If I make the image Clickable a "Title" tag is added (as the Page Name) which is fine but I want to add an "Alt" tag, too. What directory is the file you mentioned located?
  #4  
Old Aug 28, 2013, 11:37 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What is the URL?

Are you sure you mean the logo and not the header image?
  #5  
Old Aug 28, 2013, 02:53 PM
IndieJack
 
12 posts · Aug 2013
Sorry, I mean the Header Image. www.indiejack.com I want an "Alt" tag on my header image. Does it matter if the Header Image is "Clickable?"

I found this is, under Header Image, in the file you referenced earlier:

Quote:
if ( $bfa_ata['header_image_clickable'] == "Yes" ) {
echo '<div class="clickable"><a class="divclick" title="';
bloginfo('name'); echo '" href ="' . $homeURL . '/">&nbsp;</a></div>';
}

Last edited by IndieJack; Aug 28, 2013 at 04:02 PM. Reason: Updatge
  #6  
Old Aug 28, 2013, 04:11 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Yup, that is the code you will have to change

But why do you need it? It will only show if there is no image. And yes the image will have to be clickable otherwise it is the background for the div.

Bookmarks

Tags
alt, header, logo, tag



Similar Threads
Thread Thread Starter Forum Replies Last Post
Overlay text on Header Image Marvin Brown Header configuration & styling 4 Mar 26, 2012 08:48 AM
Add a text under the header image bg74blogger Header configuration & styling 4 Apr 3, 2011 08:22 PM
[SOLVED] How To Add Text Under Header Image robobobo Header configuration & styling 17 Mar 28, 2011 03:22 PM
Text Widget/Box over the Header Image akinfo Header configuration & styling 3 Nov 21, 2010 03:35 PM
[help]A text box above header image RSY Header configuration & styling 1 Jul 7, 2010 09:32 AM


All times are GMT -6. The time now is 05:47 AM.


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