WordPress.org

Support

Support » How-To and Troubleshooting » Centre align widget in page, to match rest of site

Centre align widget in page, to match rest of site

  • Hi, fairly new to this website building malarky, but I’ve managed to build this site…

    http://www.billybolton.com

    It’s all going fine but today I added this bit of code to center my site in the middle of the browser…

    *{
       margin:0;
       padding:0;
    }  
    
    body{
       text-align:center;
    }  
    
    #wrapper{
       width:1276px;
       margin:0 auto;
       text-align:left;
    }

    I got that code from this site

    http://buildinternet.com/2008/11/how-to-center-a-website-with-css/

    It all seems great except the text widget on the left one do the same. Sorry if this has been covered – I did search. Any help would be great, thanks!

  • The topic ‘Centre align widget in page, to match rest of site’ is closed to new replies.