# Adding link to site image

**URL:** <https://forums.realmacsoftware.com/t/adding-link-to-site-image/39834>\
**Category:** RapidWeaver Classic\
**Created:** [July 5, 2021, 9:33am UTC](https://forums.realmacsoftware.com/t/adding-link-to-site-image/39834 "2021-07-05T09:33:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbartolom](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/fbartolom/32/6227_2.png) [@fbartolom](https://forums.realmacsoftware.com/u/fbartolom)\
**Post date:** [July 5, 2021, 9:33am UTC](https://forums.realmacsoftware.com/t/adding-link-to-site-image/39834/1 "2021-07-05T09:33:57Z")

</div>

Hullo, I am using the Caribou theme the site link of which does not present a link to the home page. So I wanted to add it with:

```
<script type="text/javascript">
jQuery(document).ready(function() {
    $("#logo img").wrap('<a href="/" />');
});
</script>

```

but it does not work and I ignore why. For that matter if I insert the code in the javascript session, it does not even appear on the source. What might be wrong and hot to have it working?

---

<div class="post-metadata">

**Author:** ![manofdogz](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/manofdogz/32/26314_2.png) [@manofdogz](https://forums.realmacsoftware.com/u/manofdogz)\
**Post date:** [July 5, 2021, 10:37am UTC](https://forums.realmacsoftware.com/t/adding-link-to-site-image/39834/2 "2021-07-05T10:37:00Z")

</div>

When you say Site Link - I assume you mean the Logo?

Only way to do this is to try editing the theme - likely the index.html file. There’s an old thread: [Website logo linked to home page URL. How? - #10 by andrea](http://forums.realmacsoftware.com/t/website-logo-linked-to-home-page-url-how/16826/10) where the following from @bobafifi worked: Look for something like…

```
<!-- Site Logo -->
<div id="logo">%logo%</div>

```

and change it to

```
<!-- Site Logo -->
<div id="logo"><a href="%base_url%">%logo%</a></div>

```

However… I would strongly consider switching to a newer responsive theme - Caribou is NOT mobile friendly. Some newer themes will do what you want automatically. Other ‘blank’ theme / frameworks (using Stacks) enable you to add your own logo where you wish and link it as you would link anything else. Remember, if you do the above it is possible that an update to RW will overwrite your edits.

---

<div class="post-metadata">

**Author:** ![fbartolom](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/fbartolom/32/6227_2.png) [@fbartolom](https://forums.realmacsoftware.com/u/fbartolom)\
**Post date:** [July 5, 2021, 11:02am UTC](https://forums.realmacsoftware.com/t/adding-link-to-site-image/39834/3 "2021-07-05T11:02:37Z")

</div>

It might be so, but is the closer I found to the site I need to replicate at [https://www.eccc-creep.com/](https://www.eccc-creep.com/). What other theme does allow for having the site icon in line with the menus and no big image under the menubar?

---

<div class="post-metadata">

**Author:** ![fbartolom](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/fbartolom/32/6227_2.png) [@fbartolom](https://forums.realmacsoftware.com/u/fbartolom)\
**Post date:** [July 5, 2021, 11:23am UTC](https://forums.realmacsoftware.com/t/adding-link-to-site-image/39834/4 "2021-07-05T11:23:13Z")

</div>

As a a matter of fact that was an apparent issue with the RW simulator. I tried uploading the page to a web site and the jquery script works seamlessly. I wish RW clarified the HTML features its simulator does not support, lest one bangs his head against the wall for nothing.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [August 4, 2021, 9:23pm UTC](https://forums.realmacsoftware.com/t/adding-link-to-site-image/39834/5 "2021-08-04T21:23:33Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
