Header script misaligned in one project, but not in another, despite copy and pasting across? | XM Community
Skip to main content

Hi all,
I am having a strange problem with a header in a few of my projects. The projects lead on from each other so they all use the same header and footer.
The header and footer are formed from script that was given to us to use in this particular project across several surveys. However, the header is correctly centred in one of the projects, but when copy and pasted identically across to the second project (and so on), the header is misaligned and is all the way to the right. Nothing has changed other than the survey - the script used is identical. The footer is correctly centred throughout.
Code for each is below:

Header =
https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.3/jspdf.min.js"> src="https://html2canvas.hertzen.com/dist/html2canvas.js"> src="">https://cdnjs.cloudflare.com/ajax/libs/dom-to-image/2.6.0/dom-to-image.min.js">

Footer =


Has anyone else experienced something like this before and if there is a solution to this?
Thank you in advance.

Super_Recognisers
Kindly copy the source code from one survey to source of header of another survey and not directly in header or footer.
If you are still facing issues, you can check for themes used as it might affect the placement.
Hope this helps!


Thank you Deepak!
I found the issue in the "Style" settings of the look and feel option on my surveys and corrected the mistake. Works perfectly now!


Very helpful insight from Deepak! Thanks for confirming his response Super_Recognisers 🙂


Leave a Reply