Adding a graphic in this theme

9 replies
  • WEB DESIGN
  • |
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
#adding #graphic #theme
  • Profile picture of the author SteveJohnson
    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.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[5424469].message }}
    • Profile picture of the author DianaHeuser
      Originally Posted by SteveJohnson View Post

      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.

      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
      {{ DiscussionBoard.errors[5424839].message }}
      • Profile picture of the author waitstate
        In a pinch, you could fit a phone number on the existing graphic. It'll probably be called logo.jpg Keep the size and name the same, then just upload the amended graphic over the current one.
        {{ DiscussionBoard.errors[5425394].message }}
        • Profile picture of the author Jeff Chandler
          Are you talking about the colorway theme from inkthemes? If so, you have to go into the wordpress dashboard, appearance, editor, then click on the header.php template in the right hand column.

          The start of the logo code is at <div class="logo">. Just add your img tag in that div block. Make sure to backup your templates before you start editing them.
          {{ DiscussionBoard.errors[5425519].message }}
  • {{ DiscussionBoard.errors[5425826].message }}
  • Profile picture of the author DianaHeuser
    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
    {{ DiscussionBoard.errors[5428974].message }}
    • Profile picture of the author Jeff Chandler
      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'); ?>" />
      {{ DiscussionBoard.errors[5430552].message }}
  • Profile picture of the author Photalian
    /images/logo.png

    it looks like that is where the file is - just replace the graphic with another that you've edited in photoshop. rename it the same name, and overwrite it. refresh the page and it'll be there

    do you know how to navigate your website's file via your webhosting backend, or via an ftp account?
    {{ DiscussionBoard.errors[5430693].message }}
  • Profile picture of the author Photalian
    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.
    {{ DiscussionBoard.errors[5430710].message }}

Trending Topics