fbpx
Skip to content
Questions & AnswersCategory: QuestionsIssue after installing in Webflow
Tom Voltz asked 2 years ago

I have an issue after installation:

Translated one small text block "Oh, before we forget".

a. After selecting a language in the menu the page turns blank, and the text in the url box says: about:blank#blocked

b. For some reason the text shown is language 2, and there is a lot of white space. (In the code I see a lot of "
"s)

Cheers

2 Answers
Dave Hilditch Staff answered 2 years ago

I found webflow was adding http:// to the URL.
Please add this code to your header to fix this issue in webflow:
`jQuery(document).ready(function() {
jQuery(‘nav a’).each(function() {
if (jQuery(this).attr(‘href’).includes(‘javascript:’) && jQuery(this).attr(‘href’).includes(‘://’)) {
jQuery(this).attr(‘href’, jQuery(this).attr(‘href’).replace(‘https://’, ”));
jQuery(this).attr(‘href’, jQuery(this).attr(‘href’).replace(‘http://’, ”));
}
});
});

Tom Voltz answered 2 years ago

Thanks, that fixed it!

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.