add a site container

Homepage Community Forums Legacy Theme Support add a site container

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10689
    Karla
    Customer

      Hello~

      I’d like to add a site container to the site so that the backgrounds don’t go full with, and there is a border around the site.

      I’m afraid I’ll mess up the responsive code when I do this, so I’d love some help with this.

      Thanks so much!!

      #10693
      Wes
      Moderator

        Since there is already a .site-container in the code, all you would need to do is add some css for it like this –

        
        .site-container {
            border: 8px solid #000;
            margin: 0 auto;
            width: 1140px;
        }

        You can adjust the width and the border with whatever color you need.

        #10698
        Karla
        Customer

          Thank you, Wes! worked perfectly. 馃檪

          #10701
          Wes
          Moderator

            You’re Welcome!

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The topic ‘add a site container’ is closed to new replies.