# Question about link a page to hover box

**URL:** <https://forum.wixstudio.com/t/question-about-link-a-page-to-hover-box/11264>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [August 31, 2021, 4:58pm UTC](https://forum.wixstudio.com/t/question-about-link-a-page-to-hover-box/11264 "2021-08-31T16:58:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rintian0917](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/rintian0917/32/25826_2.png) [@rintian0917](https://forum.wixstudio.com/u/rintian0917)\
**Post date:** [August 31, 2021, 4:58pm UTC](https://forum.wixstudio.com/t/question-about-link-a-page-to-hover-box/11264/1 "2021-08-31T16:58:52Z")

</div>

I’m trying to use the dev mode adding a link to a hover box, the code actually works fine before, now I’m doing the same to another hover and it just doesn’t work this time.

The reason I chose to use coding is the pre-built hover box is not the kind that I want, I need to link another page to the hover box without any button or text.  
I made sure I changed the SEC Basics correctly.  
First time using Velo, not sure if this is the right place for this question.

 ![](https://us1.discourse-cdn.com/wix/original/3X/1/d/1d2904e04eaef01f4ff8b86473faf15eda348fa8.png)

---

<div class="post-metadata">

**Author:** ![yisrael-wix](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yisrael-wix/32/1107_2.png) [@yisrael-wix](https://forum.wixstudio.com/u/yisrael-wix)\
**Post date:** [September 1, 2021, 1:58pm UTC](https://forum.wixstudio.com/t/question-about-link-a-page-to-hover-box/11264/2 "2021-09-01T13:58:40Z")

</div>

You should only have one import statement, at the top of the code, which is used everywhere:

```javascript
import wixlocation from 'wix-location;

export function hoverBox8_click(event) {
    wixLocation.to('/15thpeak'); 
}

export function hoverBox9_click(event) {
    wixLocation.to('/unspoken'); 
}

```
