badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Making the header into 2 links image

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2943
    cocopel12
    Participant

    I know this is a little far from the free template but I ideally want in the header / logo area to have to links.
    1) the logo going to the home page
    2) a telephone and email text that links to an email link.

    Take a look at http://www.macofficesupplies.co.uk.
    You will see I currently have the logo and telephone / email details in an image. How can I make these links… or at least make the whole of that header image link to an email link?

    Thanks for your time on this guys. Very much appreciated.

    Ali

    #3014
    Sanjip Shah
    Participant

    @cocopel12 The customization that you are trying to make will need code customization. In free support we only provide small css tweaks, guide/help our users to use the theme and fix the bugs that our users report. As your customization is a new feature to be added to the theme please hire a developer for this. You will have to make a child theme for this customization so that you won’t lose the changes when you update the parent theme. In the child theme you will have to add a link to header image pointing to the link that you want.

    #3019
    cocopel12
    Participant

    Thank you Sanjip. I will give it a try.
    You guys are great and so is your theme.

    #3043
    Sanjip Shah
    Participant

    @cocopel12 Okay. 🙂

    #3275
    cocopel12
    Participant

    Hi,

    Just to update, I managed to make a new header that is a link by adding this code…

    <?php $header_image = get_header_image();
                if( !empty( $header_image ) ) :?>
                    <a href="mailto:[email protected]"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"></a>

    to line 244 of this file in a child theme.
    wp-content/themes/attitude/library/structure/header-extensions.php

    😀

    #3278
    Emmykk
    Participant

    you have a nice site dear.if i can set my site as the defualt i will be content and i can already.your site is just shining.thank to the attitude theme crew

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.