Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #262
    Anonymous
    Inactive

    How do you center align the page titles as it is always appearing as default alignment to the left..

    my page.liquid code shows:

    <div class=”grid”>

    <div class=”grid__item post-large–two-thirds push–post-large–one-sixth”>

    <div class=”section-header”>
    <h1 class=”section-header–title”>{{ page.title }}</h1>
    </div>

    <div class=”rte”>
    {{ page.content }}
    </div>

    </div>

    </div>

    How do i edit it to make the title on the center? thanks

    #263
    Shawn
    Keymaster

    Hello,

    You can either add in-line styles since you already found the correct liquid file to edit by doing

    <div class="section-header" style="text-align: center;">

    Hope this will help. Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.