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 »

Clickable header image problem


  #1  
Old Jan 18, 2010, 09: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 Nov 30, 2009 11:50 PM
Make header image clickable? nfdieter Header configuration & styling 2 Nov 5, 2009 08:09 AM
Header image size problem davydoo Header configuration & styling 1 Oct 14, 2009 02:19 PM
[SOLVED] Header Image Problem after upgrade Jimsplace New Versions, & Updating 4 Sep 6, 2009 10:14 AM
[SOLVED] Making Sidebar image 'clickable' (link it) marco Sidebars & Widgets 3 Jul 23, 2009 07:00 AM


All times are GMT -6. The time now is 02:14 AM.


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