• Resolved santomian

    (@santomian)


    I just updated my theme and additional plug ins and when I refreshed the site, everything shifted to the left. This should not be. I checked to see if I had widgets placed in the side bar as placeholders, but that is not the case. Can anyone tell me what I did and how I can center my content again?

    For reference, this is the site: https://www.tellingthroughstories.com

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi santomian,
    There are two ways to center the page:
    1. Edit the page and choose “Full-width, No Sidebar” template. You need to do it on each pages.
    2. If you want to center the page globally, go to “Appearance > Customize > CSS” and drop below code:

    .singular-page .content {
        padding-right: 0;
        width: 100%;
    }

    Please give a try and let us know how it goes.

    Thread Starter santomian

    (@santomian)

    Hi themehall,

    Thanks so much for your help.

    I centered the pages individually and that seemed to work. When I entered the css code in the customizer though, nothing changed. The header font has also reverted to the theme’s original format (except for the pages) even though I haven’t done anything to the font settings. I’m not sure what’s going on. Could the update be responsible for this?

    Do you have any other suggestions for how to center the posts?

    Thread Starter santomian

    (@santomian)

    I was able to fix my text by changing it directly in the theme editor. I also found this section in the theme editor and I wonder if when I installed the template update it reverted to the following, somehow affecting the template. Any ideas?

    if ( is_page_template( ‘page-full-width.php’ ) ) {
    remove_action( ‘omega_after_main’, ‘omega_primary_sidebar’ );
    }

    The code above is to remove sidebar.

    Can you try this instead?

    .home .content,
    .singular-page .content {
        padding-right: 0;
        width: 100%;
    }
    Thread Starter santomian

    (@santomian)

    Brilliant! That shifted all of the content to its original position but the title is still aligned to the left. I tried to fix it using the following but it didn’t work.

    h1.entry-title {
    text-align: center;
    width: 100%;
    }

    Please try this

    center the content

    .content {
        text-align: center;
    }

    center the header

    .entry-header {
        text-align: center;
    }

    Thread Starter santomian

    (@santomian)

    That did it! Thank you so much for your help and for your patience with me.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Site Update Malfunction?’ is closed to new replies.