The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS how do I remove part of a border?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #188434


    At the top of my wordpress blog there are two “vertical borders” I marked them in screenshot:

    Can you tell me how to remove/hide these two without removing the entire border? I know they’re part of the body border, and created by this code:

      border-left: 1px solid #000;
      border-right: 1px solid #000;

    Can you give me code to input or edit to do that?

    Here’s the website URL:
    Here’s css file:



    So you only want to remove the borders at the top…is that right?

    Well you would have to remove the CSS you’ve already supplied BUT that will remove the border from the whole container.

    If you want to retain that border for other sections, you would have t re-apply it to them individually.

    Chris Bloomfield

    As Paulie_D said, if you remove the borders to fix the header border issue, you’ll lose the borders on the rest of the #container.

    So, you could either move #header outside of #container, or you could use an additional wrapper (like #content-wrap) within #container, to wrap only the elements you want to show a border around. Then style #content-wrap with your borders.


    Tried but cannot, but ok thanks I might hire some webmaster at a later day to do this – :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.