WordPress.org

Ready to get started?Download WordPress

Forums

how to remove space at top of page? (6 posts)

  1. daggit_brown
    Member
    Posted 3 years ago #

    Hey All, How do i remove the space at the very top of my page,
    I am using the Twenty Ten theme, my website is FishingPierInc.com

    Thanks!!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Don't edit the Twenty Ten theme! Your changes will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

    Once your child theme is up & running, you can edit the child's CSS or create a customised copy of the header.php template file in the child theme.

  3. daggit_brown
    Member
    Posted 3 years ago #

    @esmi

    Thanks for the reply! I have to admit I am a bit new at wordpress and CSS. Could you please explain what a child theme is and how to create one?

    thanks!

  4. Jonas Grumby
    Member
    Posted 3 years ago #

    If you want to edit the twentyten theme, make a copy of it in a folder with a different name so that when you upgrade WordPress you don't automatically replace your edited theme.

  5. 123milliseconds
    Member
    Posted 3 years ago #

  6. Jonas Grumby
    Member
    Posted 3 years ago #

    Someone else has also been asking how to remove the space at the top. Seems like it may be caused by the head profile.

    try changing <head profile="http://gmpg.org/xfn/11">

    to just <head> in the header.php and see if that helps.

    I shudder to think about where I would be if someone had told me to never edit the Default theme. I say edit away! Just give your theme a new folder so that when you upgrade WP your new version of the theme doesn't get replaced.

Topic Closed

This topic has been closed to new replies.

About this Topic