Mirage Design Works random header image

How to Change the Left Side Image Size

April 5th, 2008 by John Crenshaw · No Comments

I’ve had several questions about how to change the size of the image along the left side of the theme…the one that says “Cutline Mod Theme.”

After I got all these questions, I realized I hadn’t quite implemented an ideal method of displaying that image…well, you live and learn. That image is in the code for all the different page templates for the theme, of which there are 7, the blunder on my part was setting an image size in 4 of those template files and not the rest, which is probably why, if you’re having this problem, you’ve noticed the image is only sized wrong on certain pages…like I said, not exactly ideal. I’ll make sure I solve that problem in the next release of the theme. Anyway, here’s exactly what to do…

Steps to Change the Left-side Image Size - Cutline Mod Theme

All 4 files you need to edit have the following line of code near the top that displays that image:

<img src="<?php bloginfo('template_url'); ?>/images/sideimage.png" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" width="35" height="281" />

You’ll need to change the height and/or width attributes in that line to match the image you use to replace it. Here are the files you need to change:

  1. archives.php - Line 12
  2. archive.php - Line 6
  3. search.php - Line 6
  4. index.php - Line 4

That should do it. Thanks to everyone who brought this problem to my attention. This was my first Wordpress Theme release, so bear with me as I get all the kinks ironed out for the next release. Also, if you have any suggestions for the next release, leave a comment and let me know - and remind me to get that suggestion box I’ve been working on up and running!

Tags: Images

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment