• I’m using template LightWord.
    The top header ( where the logo is )has an embedded link that point to the same page ( itself ) and I want to change it to the main website link.
    I tried everything in the header and stylesheet files.
    No luck.
    Any suggestion?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Your blog URL would be the best option to get the comment on your problem.

    Thanks,

    Shane G.

    Thread Starter bertarecchia

    (@bertarecchia)

    Right, that might helpl 😉

    http://www.anticoelements/blog

    Thanks.

    Moderator cubecolour

    (@numeeja)

    it looks like the url is set in the functions.php under:

    // HEADER IMAGE

    It links to the homepage of the blog, so to change it, replace

    <?php echo get_option('home'); ?>

    with the address you want it to go to, – in your case

    http://www.anticoelements.com

    so the part of the code where the anchor is defined will read

    <a name="top" title="<?php bloginfo('name'); ?>" href="http://www.anticoelements.com"><span id="top" style="background:url('<?php echo $top_header_image_path; ?>') no-repeat;height:<?php echo $lw_top_header_image_height; ?>px"><strong><?php bloginfo('name'); ?></strong></span></a>

    Thread Starter bertarecchia

    (@bertarecchia)

    Great.
    Although functions.php didn’t have
    <?php echo get_option('home'); ?>
    I changed line

    <a name="top" title="<?php bloginfo('name'); ?>" href="<?php bloginfo('url'); ?>"><span id="top" style="background:url('<?php echo $top_header_image_path; ?>') no-repeat;height:<?php echo $lw_top_header_image_height; ?>px"><strong><?php bloginfo('name'); ?></strong></span></a>

    and replaced
    <?php bloginfo('url'); ?>
    with:
    http://www.anticoelements.com

    You rule.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t change default link of top header’ is closed to new replies.