Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Clickable header image problem (http://forum.bytesforall.com/showthread.php?t=5375)

Martin1c Jan 18, 2010 09:45 AM

Clickable header image problem
 
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


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

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