WordPress.org

Support

Support » Themes and Templates » [Resolved] Extra Space above Header

[Resolved] Extra Space above Header

Viewing 11 replies - 1 through 11 (of 11 total)
  • cassihl
    Participant

    @cassihl

    It looks like in the switcher.css file, on the first line, is this:

    body {
    margin-top: 240px !important;
    font-size: 16px !important;
    }

    You need to delete that margin-top.

    Michael
    Forum Moderator

    @alchymyth

    it seems you are running a bad copy of a premium theme;

    commercial themes are not supported by this forum – try and contact the theme’s seller or author.

    princeblog
    Member

    @princeblog

    Hi cassihl, would you know where I should find the switcher file? Coz I do not see it anywhere my styles folder or anywhere in my files. I am assuming there is a code like this that creates that extra annoying space above my header but please tell me how i could delete it. thank you.

    princeblog
    Member

    @princeblog

    Hi alchymyth, thanks for the good suggestion. you’re right, it could be the theme but i was just exploring all possibilities that maybe i could resolve it without waiting for the theme developers using an idea from wordpress folks. I just bought the theme and it takes awhile (4-6 weeks) before they provide access to the theme’s own forums which I’m not sure why.

    cassihl
    Participant

    @cassihl

    Here’s the full link: http://www.gabfirethemes.com/demos/theme-switcher/switcher.css It does look like a problem with the theme. It looks like you’re reference files from the theme’s demo.

    princeblog
    Member

    @princeblog

    Ok, so you mean there is no way I can delete this from my files since it is calling the code directly from the demo? Are you sure there is no other way? Surely there should be a way to delete this. Please help.

    cassihl
    Participant

    @cassihl

    In your header, try deleting this line:

    <link rel="stylesheet" href="http://www.gabfirethemes.com/demos/theme-switcher/switcher.css" type="text/css" media="screen" />

    princeblog
    Member

    @princeblog

    Hi cassihl, it worked! Finally.. Thank you so much!

    princeblog
    Member

    @princeblog

    by the way, what is the use of switcher file? since i’ve deleted it, how will it affect my site?

    cassihl
    Participant

    @cassihl

    I honestly have no idea. I’m not sure why it was there to begin with. It looks like it was used by the developers in their demo version of the theme, so I don’t think it’s necessary at all.

    princeblog
    Member

    @princeblog

    thank you so much for your assistance. in a way, i am relieved now. nothing seems to be affected by the removal of the switcher code so far. this is resolved. i appreciate everything you did to help me.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Extra Space above Header’ is closed to new replies.