Page Content Border

resolved (3 posts) (2 voices)

  1. I was looking for a solution to add a border around the entire page content area excluding only the background, socials in the header, and sub footer (see attached image). No luck

    I found the code to put a boarder around the entire edge of the browser area:
    body {
    border: 2px solid red;

    I tried changing the area to content, body_inner, multibg, content, and content_wrap with varying success but none around the entire area. Content would add the border around the main content area but not the whole body area.

    The image below shows in red where I want to go (different color and size), but I created that in Photoshop.



    1. SSPuptalesBorder.jpg (36.8 KB, 0 downloads) 3 years old
    Posted 3 years ago #
  2. Dogmut

    Have you tried # before body (#body or #body_inner)

    Posted 3 years ago #
  3. That didn't work yesterday but it worked today! A little over in that it includes the socials and the sub hotter but I'll take it.


    Posted 3 years ago #


You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme