• 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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Thread Starter LianaSikking

    (@lianasikking)

    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!

    Thread Starter LianaSikking

    (@lianasikking)

    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!?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘removing borders around header and menu’ is closed to new replies.