|
#1
|
|||
|
|||
|
About Page Problem
I am using the horizon template in the latest version of pixelpost. I am having a problem editing my about section. I will go into the horizon template folder and then edit the about_template.html with "text edit" on my mac and then overwrite the file and upload that single file to my ftp (the file being about_template.html) Then I lose the template style on that page. You can see here on my about page at alphoto.net Anybody know what I am doing wrong?
Thanks, Alan |
|
#2
|
||||
|
||||
|
Looks like your html got converted to rich text maybe? I'm not sure how it happened because I didn't have any problems opening up the file in text edit. all declarations to the css files are gone and it points to file:// instead of urls on your server. Download the template again and replace the file.
|
|
#3
|
|||
|
|||
|
No, my file was still formatted as an .html And I redownloaded and did the same thing. Same terrible result. Tried different templates, still failure. Help?
|
|
#4
|
||||
|
||||
|
I've just taken a look at the source code for your About page, and Kevin is correct with regards to the rich text issue and the file paths being stripped out. In fact all of the original PP code has been removed as well. It is HTML, but it is not the correct code for the About page.
Your source code is showing the doctype for the page as HTML 4.01, when it should be XHTML 1.0 Transitional. It has also inserted meta tags showing the code generator as Cocoa HTML Writer, which should not be there either. The style information in the head section is incorrect, as is the inline styling that has been inserted throughout the entire document. You need to use a plain text editor to edit the about page, not an HTML editor. Here is a look at the source code for the head section from your About page: Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title><SITE_TITLE></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="949.27">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 16.0px 0.0px; font: 24.0px Times; min-height: 29.0px}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times; color: #001ee6}
p.p3 {margin: 0.0px 0.0px 14.0px 0.0px; font: 18.0px Times}
p.p4 {margin: 0.0px 0.0px 12.0px 0.0px; font: 12.0px Times}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times; min-height: 14.0px}
p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times}
span.s1 {text-decoration: underline}
span.s2 {color: #001ee6}
span.s3 {text-decoration: underline ; color: #001ee6}
ul.ul1 {list-style-type: disc}
</style>
</head>
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title><SITE_TITLE></title> <!-- META --> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <!-- CSS --> <link rel="stylesheet" type="text/css" href="templates/horizon/styles/horizon.css" /> </head>
__________________
My photoblog: KP Images |
|
#5
|
|||
|
|||
|
Alright guys, that worked! Thanks a million.
|
| Post Reply |
| Thread Tools | |
|
|