how to upload html file
I have made a johnson box wich i would like to place on my sales page, but i can't get it uploaded there.
Can anyone tell me how to get it on my page??
Lynnth you know your way really good around WP, do you know what to do?
What you would do is open up the page in the WordPress editor and switch to the HTML view. Then paste your HTML code into that page in the desired spot.
I tried that but i get a text insteadof a johnson box. i made it in compozer and it's saved as a html file but i uploaded it via images, media etc but it keeps appearing as text.
If you uploaded it as an image then you will just have an image of the text. You need to save from Composer into a text file and then just copy the portion of the file you need over into the HTML view of the editor. You can't copy the whole file since composer will include the outer portion of the page HTML that is handled for you by WordPress.
ah ok thanks Lynnth but i have 2 options when i save with kompozer: .html file and all files, so i saved it as all files and it still saves as an .html file, so i don't understand what i did/do wrong.
do you have a better solution to make a johnson box Lynnth??
how do you do it??
You did not do anything wrong. HTML is exactly what you need. Preferably with the styling coded within the DIVs rather than a separate CSS file. The trick (if anything) is knowing what to use out of that HTML. Assuming that the only thing on this page from Komposer is the box code, you need everything inside of the body tags (but not including the body tags). Paste this into the HTML view of your sales page at the point you want it.
Repeat the process for each Johnson box you want on the page.
Originally Posted by tequila jack
Ah ok not including the bodytags, now it works, thanks a lot Lynnth, one more thing i want it centered on the page because now it's on the left but i can't allign it to the center only strech it out to the center, how do i do that??
Put <center> in front of it and </center> after it.
Ok it worked thank you very much Lynnth you helped me out numerous times now
Thanks a lot,