Header logo

  • Posted in : cvCard WP
  • mantovskis
    Participant

    Hi,

    I have two questions regarding header (main) image logo:

    1. Is there a way to remove the circle style of logo? I would like to upload a horizontal logo, but it’s corners are cut because of the circle style restriction.
    2. How can I insert a link to the home page to the image logo so whenever I click on the logo it takes me to the home page?

    Thanks.

    Mehmet S.
    Keymaster

    Hi,

    1. Use this in your Theme Options > Custom CSS field:

    .header img { border-radius: 0px; }
    

    2. The latest version has a link to the homepage, please visit: http://themes.pixelwars.org/cvcard-wp/blog

    Thanks

    mantovskis
    Participant

    Thanks.

    However, you answer to the second question doesn’t solve my problem. I want the logo to always point me to the home page. For example, when I enter my domain name in my browser it takes me to the “about me” page. When I scroll through the menu the “about me” pages gets lost and I have to scroll through the menu untill I find it. Is it possible to make the logo to point to the home page when it’s clicked and return me to the “about me” page?

    Mehmet S.
    Keymaster

    Ok, you can do it manually:

    – Navigate to Appearance > Editor > header.php

    – Find this line:

    <img alt="<?php bloginfo( 'name' ); ?>" src="<?php echo $logo_image; ?>">
    

    – Edit:

    <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img alt="<?php bloginfo( 'name' ); ?>" src="<?php echo $logo_image; ?>"></a>
    
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register