This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Snapshot Theme – Centering content on Page

Resolved 5 replies premiumthemetheme-snapshot
11 years ago · Last reply by Andrew Misplon 11 years ago

Hi Andrew,

I’m using the Premium Snapshot theme and just wanted to know how I would go about editing the child theme so that content on Pages (not Posts) is centered.

Thanks!

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Andrew Misplon Staff 11 years, 5 months ago

    Hi Thomas_48

    Thanks for running Snapshot. Can you send through a little more info here. How would you like the post/page content to be aligned/displayed?

  2. Thomas_48 11 years, 5 months ago

    Hey Andrew,

    I’m hoping to have the content (text, music player, embedded videos, etc.) displayed in the center of the screen.

    The default seems to be set so it’s aligned on the left (http://demo.siteorigin.com/snapshot/default/). Using the demo as an example, I’d like to take that entire chunk of content and shift it to the right a bit, so it’s in the center.

    All of my widgets will be in the footer so I won’t have any sidebars and want the content to display in the center of the screen. I’m sure it’s a simple fix (adding some padding from the left?) but I’m not sure where to find that in the code. Any help is much appreciated!

  3. Andrew Misplon Staff 11 years, 5 months ago

    For sure. The content there is left aligned because there is no sidebar present. This particular template of ours doesn’t compensate for that. Try inserting the following under Appearance > Custom CSS to center that column:

    #post-main {
    padding-top: 10px;
    float: none;
    margin: 0 auto;
    }
    
  4. Thomas_48 11 years, 5 months ago

    Issue resolved! Thank you so much sir!

  5. Andrew Misplon Staff 11 years, 5 months ago

    Super, glad to hear that helped. All the best.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread