First off, wilderness is a great theme! only one question:

How to make the h_back.jpg included in the wilderness theme a clickable banner? I only find one instance of the h_back.jpg in the stylesheet:

#featured {
position: relative;
height: 206px;
background: url(images/h_back.jpg) no-repeat center;
}

any suggestions?

Comments

agileware’s picture

Hi minoxes,

In your page.tpl.php theme file, replace this (on line 66)

<?php if ($is_front): ?>
  <div id="featured"></div>
<?php endif; ?>

with

<?php if ($is_front): ?>
  <a href="<?php echo $base_url; ?>/path/to/page"><div id="featured"></div></a>
<?php endif; ?>

Hope this helps :)

agileware’s picture

Status: Active » Closed (fixed)
Henry Connor’s picture

I have changed this image on the server by overwritting the h_back.jpg Image but where do you change this setting in the drupal module/theme settings? By overwritting the file on the server, certain log-ins still default back to the original image?

Henry Connor’s picture

Status: Closed (fixed) » Active
pokadan’s picture

Assigned: Unassigned » pokadan
Status: Active » Closed (fixed)

I would suggest using javascript onclick event to accomplish this. As I understand it, block elements inside an anchor tag are only allowed in HTML5.

The logs should not notice if you've changed an image on the server unless you named it incorrectly(eg. u didn't preserve the name).