Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

Clickable header image problem


  #1  
Old Jan 18, 2010, 10:45 AM
Martin1c
 
1 posts · Jan 2010
I've looked at this forum and found some good advice and I'm almost there but now stuck.

I've changed my header_config file code on line 281 to the following

// Header Image
if ( strpos($header_items,'%image') !== FALSE ) {

$bfa_header_images = bfa_rotating_header_images();
$header_image = '<div id="imagecontainer" class="header-image-container" style="background: url(' .
$bfa_header_images[array_rand($bfa_header_images)] . ') ' . $bfa_ata['headerimage_alignment'] . ' no-repeat;">';
$header_image .= ($bfa_ata['header_image_clickable'] == "Yes" ? '<div class="clickable">
<a class="divclick" title="' . $bfa_ata . '" href =http://cheshire-mortgage-broker.co.uk/about/cashback-scheme"' . '/">&nbsp;</a></div>' : '' );

if ( $bfa_ata['header_opacity_left'] != 0 AND $bfa_ata['header_opacity_left'] != '' ) {
$header_image .= '<div class="opacityleft">&nbsp;</div>';
}

if ( $bfa_ata['header_opacity_right'] != 0 AND $bfa_ata['header_opacity_right'] != '' ) {
$header_image .= '<div class="opacityright">&nbsp;</div>';
}
// END: If Header Opacity

if ( $bfa_ata['overlay_blog_title'] == "Yes" OR $bfa_ata['overlay_blog_tagline'] == "Yes" ) {
$header_image .= '<div class="titleoverlay">' .
( $bfa_ata['overlay_blog_title'] == "Yes" ? '<h' . $bfa_ata['h_blogtitle'] . ' class="blogtitle"><a href=http://cheshire-mortgage-broker.co.uk/about/cashback-scheme"' . $bfa_ata['get_option_home'] . '/">' .
$bfa_ata['bloginfo_name'] . '</a></h' . $bfa_ata['h_blogtitle'] . '>' : '' ) . ( $bfa_ata['overlay_blog_tagline'] == "Yes" ? '<p class="tagline">' .
$bfa_ata['bloginfo_description'] . '</p>' : '' ) . '</div>';

when I click on the header image it takes me to another page on my site although the code it is trying to locate is http://cheshire-mortgage-broker.co.u...-scheme%22/%22.

What have I done wrong?

www.cheshire-mortgage-broker.co.uk

Any help or guidance appreciated

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to design clickable icons in right of banner image JGalt Header configuration & styling 2 Dec 1, 2009 12:50 AM
Make header image clickable? nfdieter Header configuration & styling 2 Nov 5, 2009 09:09 AM
Header image size problem davydoo Header configuration & styling 1 Oct 14, 2009 03:19 PM
[SOLVED] Header Image Problem after upgrade Jimsplace New Versions, & Updating 4 Sep 6, 2009 11:14 AM
[SOLVED] Making Sidebar image 'clickable' (link it) marco Sidebars & Widgets 3 Jul 23, 2009 08:00 AM


All times are GMT -6. The time now is 02:09 PM.


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