• matheus

    (@gaviaasesores)


    Hi, I have been working on this website using the Pilcrow theme and I am trying to remove the 2 black lines above and below my header image. The only thing I have tinkered with is the header image size in the functions.php file to make it smaller. I changed it back to its original settings to see if the lines would disappear, but the lines are still there. If somebody could help me with this I would greatly appreciate it. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your link simply seems to lead to the WP Forums home page, so it’s a bit hard to say anything useful…

    😉

    PAE

    Thread Starter matheus

    (@gaviaasesores)

    lol whoops sorry, i must have messed that up somehow. The website is gaviaasesores.com

    The top border is being set here:

    #nav {
      ...
      border-color: #222222;
      border-style: solid;
      border-width: 1px 0 2px;
      ....}

    The bottom border is being set here:

    #header img {
      border-bottom: 2px solid #222222;
      ...
    }

    You appear to be using the twentyeleven theme. If this is the case and you haven’t already made all your changes in a Child Theme, then I would strongly recommend that you create one and transfer all your changes into the child, putting the default (twentyeleven) theme back exactly as it was.

    Once you have your child theme up and running, you can then add the following style rule to your child theme’s style.css file:

    #nav, #header img {
      border: none;
    }

    That should do it.

    HTH

    PAE

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘black border around header’ is closed to new replies.