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)
-   -   Remove link to logo image at top of page (http://forum.bytesforall.com/showthread.php?t=21319)

RandomGuyJoe Dec 27, 2013 11:55 AM

Remove link to logo image at top of page
 
I'm using Atahualpa 3.7.13 and I'm trying to figure out how to remove the link from the logo image. I just want the logo image displayed above the header image with no url link, just static image. I've tried searching for answers and I can't find anything. Please help!

juggledad Dec 27, 2013 03:18 PM

to do this you will have to edit the theme code. Edit 'bfa_header_config.php. and change lines 162-163 from
HTML Code:

                        echo '<td ' . $header_rowspan . 'valign="middle" class="logoarea-logo"><a href="'
                                . $homeURL . '/"
>
';

to
HTML Code:

                        echo '<td ' . $header_rowspan . 'valign="middle" class="logoarea-logo">';
and change line 165 from
HTML Code:

                        echo '" /></a></td>';
to
HTML Code:

                        echo '" /></td>';

lmilesw Dec 28, 2013 04:28 AM

Just curious as to why having the logo link to the home page is problematic.

RandomGuyJoe Dec 28, 2013 08:45 AM

It's not problematic per se, but I don't see the need to have a link at the top that links directly to the page you're looking at.

juggledad Dec 29, 2013 06:30 PM

It's there so if you are on another page of the site, you can get back to the home page by clicking it.

lmilesw Dec 30, 2013 05:49 AM

It is also the standard, and for many expected, way for the logo to work. Try going to many major sites such as microsoft.com. Then click on the logo and see what happens.


All times are GMT -6. The time now is 03:55 PM.

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