Home >
Questions and Answers >
General Questions
Landing page not displaying correctly after uploading to server??? (9)
09-19-2014 07:46 PM
#1
barnone (Member)
Landing page not displaying correctly after uploading to server???
My LPs aren't displaying correctly. The background fill is cut off and my CTA button is broken.
It displays fine when I view the index.html in Firefox from my desktop.
I checked the code of the index.html on the server and the one on my desktop and they are exactly the same.
It's displaying the same way in Firefox and IE.
My host is Beyond Hosting.
Anyone dealt with this and got a fix?
-- FROM OTHER THREAD ---
After creating my lander in Muse, I exported it to my desktop and edited the globalcss and index.html and inlined the css into the index.html. The page looks fine when I preview it in Firefox from my desktop.
Then I uploaded the files to Beyond Hosting. And it's not displaying the same---there are left and right margins for the browser fill and the button widget is broken. I compared the code of index.html on my desktop and the index.html file on the server and they are exactly the same.
www.fishing4dates/CHRM
I tried googling for an answer.
I disabled my extensions in Firefox and that didn't help.
How can I fix this?
Note from Zeno: no need to double thread for the same issue...
09-19-2014 07:59 PM
#2
dario (Member)
have you uploaded the .css files too?
09-20-2014 02:32 AM
#3
barnone (Member)

Originally Posted by
dario
have you uploaded the .css files too?
Yes I have. Also, I created the lander in Muse.
09-20-2014 04:58 AM
#4
zeno (Administrator)
You have the CTA button code three times in the HTML code.... why? That's clearly what's breaking things because you're trying to put the same thing, styled in the same way, in three different parts of the HTML layout.

That's certainly going to give unintended behaviour. Muse wouldn't export that so you must have copy/pasted it somewhere along the line.
09-20-2014 07:33 AM
#5
barnone (Member)

Originally Posted by
zeno
You have the CTA button code three times in the HTML code.... why? That's clearly what's breaking things because you're trying to put the same thing, styled in the same way, in three different parts of the HTML layout.
That's certainly going to give unintended behaviour. Muse wouldn't export that so you must have copy/pasted it somewhere along the line.
Here is how the CTA button code looks before I upload it to the server.
<a class="nonblock nontext Button rounded-corners clearfix grpelem" id="buttonu182" href="http://www.fishing4dates.com/p/tracking/exit-page.php"><!-- container box --><div class="clearfix grpelem" id="u183-4"><!-- content --><p>I Agree!</p></div></a>
Is this something the server is overriding in my code?
09-20-2014 08:05 AM
#6
qureyoon (AMC Alumnus)

Originally Posted by
zeno
You have the CTA button code three times in the HTML code.... why? That's clearly what's breaking things because you're trying to put the same thing, styled in the same way, in three different parts of the HTML layout.
That's certainly going to give unintended behaviour. Muse wouldn't export that so you must have copy/pasted it somewhere along the line.

Originally Posted by
barnone
Here is how the CTA button code looks before I upload it to the server.
<a class="nonblock nontext Button rounded-corners clearfix grpelem" id="buttonu182" href="http://www.fishing4dates.com/p/tracking/exit-page.php"><!-- container box --><div class="clearfix grpelem" id="u183-4"><!-- content --><p>I Agree!</p></div></a>
Is this something the server is overriding in my code?
Not sure how you got the extra thing.
But delete the first 2 that zeno highlight, and you should be good to go.
Only buttons/links with text should be kept.
I don't use Muse, but my guess is probably you accidentally added a 'blank' button twice (the first two is wrong), before you get it right (the last one is correct)
09-20-2014 08:21 AM
#7
barnone (Member)
Tried that but it looks worse now.
Should I just start over?
Are you not supposed to hyperlink a state button in Muse? Is that what's causing these problems?
09-20-2014 09:02 AM
#8
zeno (Administrator)
Your browser or server won't magically insert that code. You can be assured the HTML file on your server does have that in it.
Check your original code and confirm it's fine and doesn't have that in it.
Delete the current file on your server. Upload your local one. Done.
09-20-2014 10:25 AM
#9
barnone (Member)
Thanks so much zeno!
Deleting the file on my server and re-uploading it did the trick.
Home >
Questions and Answers >
General Questions