• Hey!

    Is it possible to make this theme center aligned instead of the left aligned block? I want my images to be much more larger and use more of the page!

    Thanks
    D

Viewing 2 replies - 1 through 2 (of 2 total)
  • I tried the following for center-aligned.

    Work fine on desktop but not on mobile (cuts off text on the left hand side).

    .post-inner {
    	margin-left: calc( 50% - 30rem );
    	max-width: 60rem;
    }
    • This reply was modified 5 years, 4 months ago by Nico Coetzee.
    Theme Author Anders Norén

    (@anlino)

    The following CSS will make the content column center aligned:

    .post-inner {
        margin: 0 auto;
    }

    This solution will work on mobile, but it will break blocks that are align-right, align-wide or align-full on desktop. More extensive changes would be needed to make them work with a centered content column.

    — Anders

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make center aligned’ is closed to new replies.