Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Center Align Pages

Discussion in 'Misc WordPress Requests' started by foxandcrowhattery, Jan 29, 2018.

  1. foxandcrowhattery


    Center Align Pages, by foxandcrowhattery

    Hello, I am trying to set up my website such that the pages of the website are center aligned. Right now if you navigate to any of the pages, while the main header and menu are in the center, the actual body of the pages are left aligned. I have looked at the .css file and tried a few things, but I’m not having any success. Right now this is the section I’m guessing code needs to go into?

    /* 4.0 Body Structure
    ================================================== */
    #page {
    width: 100%;
    background-color: #fff;
    .container {
    margin: 0 auto;
    max-width: 1170px;
    padding: 0;
    position: relative;
    text-align: center;
    #primary .container {
    max-width: 100%;

    Center Align Pages

Share This Page

Monarch Social Sharing Plugin