WordPress.org

Ready to get started?Download WordPress

Forums

removing borders around header and menu (4 posts)

  1. LianaSikking
    Member
    Posted 2 years ago #

    Hello,

    My website (twenty eleven) shows an ugly grey border around the header and menu. I spend a few hours trying all the tips and tricks I can find about this subject. But nothing worked. I tried all the changing of codes I was offered trough google, but I cannot even find the codes in style.css. As if I have a different version or something, (which is not the case). I set almost every border and padding I could find on 0px, or 'none', but my website seems to stay completely unaffected. I'm probably doing something really stupid.

    Can somebody assist me?

    Thank you!

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.

  3. LianaSikking
    Member
    Posted 2 years ago #

    Ok, I guess I should have done that earlier, mmm.... thanx.

    It didn't work out though. I made a new directory in wp-content, themes: twentyeleven-child. I copied the style.css file from the parentpage, emptied it, and pasted the text from the website you gave me. (I wouldn't know how to make a new css-file, that's why I tried it this way). When I go to themes in WordPress, it is not showing the theme (also other themes that I downloaded before, that are not from the wordpress-directory doesn't show). Also suplicating the whole parent-page and changing the name and style.css, is not showing in the list of themes available. When I go to 'install themes', and try to upload it, I don't know which file to select from the theme-directory, there are so many! The child-page only has 1 file, the style.css offcourse, but when I select that one, and try to upload it, I get an error:

    PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

    as you must have noticed... I'm rather new to this, so I can use some help.

    Thank you!

  4. LianaSikking
    Member
    Posted 2 years ago #

    Ok, so what I did now... probably not right, but it takes me further than before: I make a zip-file from the theme (different theme, that also refused to be uploaded), that I can upload now, and then it does show at the themeslist.
    But,.... now I made a copy of twenty eleven in wp-content, themes, called 'twentyeleven kopie', changed the style.css to make it a child-template:

    /*
    Theme Name: Twenty Eleven kopie Child
    Theme URI: http: //example.com/
    Description: Child theme for the Twenty Eleven kopie theme
    Author: Liana
    Author URI: http: //
    Template: twentyeleven kopie
    Version: 0.1.0
    */

    Made it a zip-file.... and try to upload it, as the other one does.... And then this one won't... I keep losing track... help!?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.