CMS Development

JWharton
Contributor

Weird link hi-jacking behaviour

SOLVE

In the mobile view of my site, links on the page are "hi-jacked" by a link from the navigation menu (hamburger), but only at a certain position on the page.

 

EDIT: It seems the CTA button (from the hamburger menu) is hidden on the page but you can see there's a link there when you mouse over a part of the page. So it's not related specifically to the visible links on the page.

 

If you go to http://5056899.hs-sites.com/beginners-guide-to-cbd the Chapter links go to anchors on the page, except at a certain scroll point a link will switch and link to the CTA from the hidden navigation menu (Get Started).

 

Any clues?

0 Upvotes
1 Accepted solution
psdtohubspot
Solution
Key Advisor

Weird link hi-jacking behaviour

SOLVE

Hi @JWharton 

I checked the implementation seems wrong but I have a quick fix for you just copy and paste this code in your page stylesheet, let me know if you have any issue with this will share screenmailer .

@media(max-width:990px){

.row-fluid-wrapper.row-depth-1.row-number-5.open a.cta_button {
    visibility: visible;
}

header.me-header nav .me-container>div>div:last-child .cta_button {
    visibility: hidden;
}


}


image (48).png

Let me know if any further questions!

Thanks!
Ajit
www.psdtohubspot.com

Please mark this solution as Accepted.

View solution in original post

3 Replies 3
psdtohubspot
Solution
Key Advisor

Weird link hi-jacking behaviour

SOLVE

Hi @JWharton 

I checked the implementation seems wrong but I have a quick fix for you just copy and paste this code in your page stylesheet, let me know if you have any issue with this will share screenmailer .

@media(max-width:990px){

.row-fluid-wrapper.row-depth-1.row-number-5.open a.cta_button {
    visibility: visible;
}

header.me-header nav .me-container>div>div:last-child .cta_button {
    visibility: hidden;
}


}


image (48).png

Let me know if any further questions!

Thanks!
Ajit
www.psdtohubspot.com

Please mark this solution as Accepted.

JWharton
Contributor

Weird link hi-jacking behaviour

SOLVE

Thanks Ajit. Works like a charm.

psdtohubspot
Key Advisor

Weird link hi-jacking behaviour

SOLVE

you are welcome @JWharton  🙂 

0 Upvotes