Adding a graphic in this theme

by 9 replies
11
Hi

I am using the ColourWay theme and I wanted to add a graphic with my telephone number at the top of the screen (next to the small "Di-Namic Design" Logo).

Could anybody tell me how to do this please? Clueless here

Thanks
Di

Di-Namic Design
#website design #adding #graphic #theme
  • Easiest way is probably to re-do the logo graphic to include the phone number. Looks like the container will accommodate any width graphic for the logo.
    • [1] reply

    • Thanks Steve, but the problem is it is a theme option and it only allows for that size graphic that is currently there. I will have to edit the template or header file but I don't know how to do that

      Di
      • [1] reply
  • Yes Jeff it is from InkThemes. Thanks for that. I will give that a go.

    Di
  • Hi

    The code Jeff mentioned above looks like this:

    HTML Code:
    <div class="logo"> <a href="<?php echo home_url(); ?>"><img src="<?php if ( inkthemes_get_option('colorway_logo') !='' ) {?><?php echo inkthemes_get_option('colorway_logo'); ?><?php } else {?><?php echo get_template_directory_uri(); ?>/images/logo.png<?php }?>" alt="<?php bloginfo('name'); ?>" /></a> </div>
    Pardon the blonde here, but it appears that if you don't put a logo in the Theme Options, it defaults to the ColourWay logo that seems to be hosted on their server.

    So where exactly do I change the code to the logo that I uploaded to my site?

    Thanks,
    Di
    • [1] reply
    • If you're changing out the logo image code, you would delete all the code between the <a ...> and </a> tags and replace with your <img src="..."/> code.

      You would delete this section of code:
      <img src="<?php if ( inkthemes_get_option('colorway_logo') !='' ) {?><?php echo inkthemes_get_option('colorway_logo'); ?><?php } else {?><?php echo get_template_directory_uri(); ?>/images/logo.png<?php }?>" alt="<?php bloginfo('name'); ?>" />
      • [ 1 ] Thanks
    • [ 1 ] Thanks
  • by the way, your twitter link icon has a bad url - the one at the bottom of the page. Should be an easy fix best wishes. I figured out the link, and followed you.
    • [ 1 ] Thanks

Next Topics on Trending Feed