Single Web Page Error in Mobile View
Auteur : Nigel B.
Visité 1478,
Followers 1,
Partagé 0
Hi, I'm using X5 Pro 2022.3.6
I have a single website page that incorrectly slides to the right when in mobile view. View it here: https://www.nigelbillington.com/geminos-book-sample.php
No other page on my website does it, only this one and I can't figure out why.
I've checked my responsive settings and they are the same as the other pages.
Also, when on this page (using a mobile device) the hamburger menu doesn't work properly. It work fine on all the other pages except this one...
Does anyone have any ideas as to what's causing the problem?
Thanks.
Posté le
As long as the experts don't come forward with a source text analysis, maybe try self-help.
Hold down the left Ctrl key and click Preview and wait for the green progress bar to scroll through. Then upload the complete websites.
Auteur
Thanks Daniel.
I found the problem. It was unseen (background) formatting, transferred over from a Word document that I had copied and pasted into the X5 text object.
Although I "cleared" all text formatting in the Word document itself, before I copied and pasted it into X5 (and used the X5 "Reset Format" function in the text object to make sure I cleared all formatting), neither worked for some reason.
In order to discover the problem, I had to create another page and move all the objects across to the new page.
Because the problem still transferred to the new page, I then began deleting each object in turn: blog object, image objects, separator, social share. No object caused the problem.
So, I narrowed it down to the text, placing my cursor between the blocks of text throughout the document and discoved invisible formatting that was leftover from the Word document.
I deleted it manually and hey presto, the page was back to normal.
The irregular formatting was making the page wider (but not visibly) and created a scroll bar at the bottom to accomodate the invisible formatting. That was why the page moved.
So everything is fine now.
A good tip when text is copied into the X5-textobject:
Copy the text from a document or the web or from elsewhere - then - insert the text into notapad++ - then copy the text from notepad++ into the X5.
This will never give you trouble with fonts, formatting or "hidden" code.
Auteur
Thanks John for the tip.
Does it clear formatting as soon as I paste text into notepad? Do I need to save it or anything else?
All formatting is cleared when text is inserted in notepad - and you need not to save the text.
Just open notepad++ - insert the text - and then copy the text from notepad and insert it in X5.
It will then be as if you typed it in X5. Clean and easy.
Auteur
Great! Thanks John.
Perhaps I have not understood but, since ALWAYS in ALL text editor software for Windows if instead of doing
CTRL + V
you do
CTRL + SHIFT + V
corresponds to PAST WITHOUT FORMATTING