Weird things going on with 2 templates…help!
-
Hi,
I have had an issue when I was using the Crybook theme. When I used the ‘ more’ tag in my posts but unfortunately all the widgets on the right hand side moved under the blog posts. After trying a few things and getting frustrated I purchased the very cool Haitian Theme. It has the same problems. Can anyone suggest how I might resolve the issue. I’m a bit of a noob, thanks.
My Url is http://www.stephmacleod.com
-
Hi
For starters you are missing a closing
</div>that needs to be before your sidebar starts. It is likely this is in template file index.php in your theme folder.If the call to your sidebar file is near the bottom of that file, try putting a
</div>just before the line that calls the sidebar file.You have a few (not many) errors on the validate page site
http://validator.w3.org/check?uri=http://www.stephmacleod.com/One of them is a mismatched closing div error.
The line of code for the sidebar starts with
<div id="right"> <h2>Pages</h2> <ul>That will be in your sidebar.php file. You don’t want to edit anything there – you want to edit the code that calls that file. You may or may not need to change page.php and single.php after you get the main page working.
That is a very nice theme, by the way.
Hi,
I managed to fix the sidebar issue, thanks. I have no idea how to fix the code in the validation you mentioned. I had a look and it said that most of the issues were because of the document being Strict, but the source indicates that the document is Transitional…..???
I’m confused.
Any suggestions
PS: Theme available from Theme Forest
Hi
The remaining errors you have on the validator page are very trivial and while its always good to clean them all up, leaving it as it is will not negatively impact anyone’s results on your site
ok cheers
The topic ‘Weird things going on with 2 templates…help!’ is closed to new replies.