• Hi,

    I made myself a template, and, I noticed something strange.

    When I go to the homepage there is +/- 10px top-margin but, if I browse any other pages/category, the margin disappears. In the wrapper or containers there is no top-margin. I even tried to had them all margin:0 to see if there is a change, but nothing.

    All the pages are based on the same CSS and the php files are all based from the index.php which is used for the homepage.

    When I browse the code I can see that in the homepage <head> contains only the meta instead of the meta+link.

    If you have any idea how to solve it I’ll be more than happy ??

    Kanana

Viewing 6 replies - 1 through 6 (of 6 total)
  • can’t help if we can’t see the problem….link please

    Thread Starter Kanana

    (@kanana)

    Ok, I understand, but I was in local.

    I uploaded the theme to my server, and, you can find it here

    Click on Home and then Uncategorized and you’ll see.

    PS: The theme is not finished yet.

    Thanks

    Thread Starter Kanana

    (@kanana)

    Does anyone has a suggestion?

    I assume you’re using Firefox? And the Web Developer toolbar?

    Ok then. If you “View Generated Source” (not view source) you will see that something is putting all the style sheet links AFTER the </head> tag closes, and into the <body> of your homepage, which is causing that gap. I suspect a plugin, namely the All In One SEO plugin. Try disabling it. That plugin is bad news.

    If that doesn’t work, try disabling any other plugins, it looks like one of them is rewriting they styles in your home page, and not in a good way.

    The theme I am using is Mimbo. I have disabled all of the plugins but still have the space at the top which appears to be caused by the same problem. Help greatly appreciated.

    https://www.salesdujour.com

    Thread Starter Kanana

    (@kanana)

    I found the solution… I’m using Notepad++ to edit these pages, and I realized that this page was encoded in UFT-8 and the rest (that doesn’t have that issue) in ANSI. So, Ichanged it to ANSI and the problem is solved now.

    I hope that it can help gshart and other users that’ll expriment the same.

    Kanana

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with top-margin in the Homepage’ is closed to new replies.