• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Lifestyle Pro unwanted centered text

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Lifestyle Pro unwanted centered text

This topic is: not resolved

Tagged: centered text, text

  • This topic has 7 replies, 2 voices, and was last updated 11 years, 3 months ago by Tonya.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • September 9, 2014 at 12:13 pm #123616
    ddknight
    Member

    Hello all,

    I'm working on a site that has centered text, which I would like to remove. I may have edited a year ago but cannot figure out what I did. I've used firebug to try to figure it out but I'm stuck, so I thought I'd ask here. Thanks ๐Ÿ™‚

    http://www.buddhismgifts.com/
    September 9, 2014 at 12:32 pm #123621
    Tonya
    Member

    Hi,

    When using Firebug, right click on the text that you don't want centered and select "Inspect Element". Then scroll down the CSS list until you find text-align: center. Change center to left. Then go into your stylesheet and make that change. Repeat for all the areas that you do not want centered.

    For example, the featured post paragraphs are centered on line 83:

    .featured-content .entry {
    margin-bottom: 32px;
    margin-bottom: 3.2rem;
    text-align: center; /* change this to left instead of centered if you do not want it centered */
    }

    The entry titles are centered on line 127:

    .entry-header {
    border-bottom: 1px solid #eeeee8;
    margin-bottom: 32px;
    margin-bottom: 1px;
    text-align: center; /* change this to left instead of centered if you do not want it centered */
    }

    Cheers,
    Tonya


    Software & Electrical Engineer and Programming Teacher ยท I’m on a mission to help developers be more awesome.
    Find Me: KnowTheCode.io | @hellofromTonya | Profitable WordPress Developer Bootcamp

    September 9, 2014 at 4:05 pm #123651
    ddknight
    Member

    Thanks Tonya,

    Entry header is fine, it's the text in the widgets next to the thumbnails and the text in the actual posts that are centered. I will see if I can get it figured out, thanks ๐Ÿ™‚

    September 13, 2014 at 5:10 am #124202
    ddknight
    Member

    I can't seem to figure out why the text is centered ๐Ÿ™ thanks, I'll look for help elsewhere.

    September 18, 2014 at 12:04 pm #124929
    ddknight
    Member

    Could anyone possibly help me figure out why this is happening? thank you very much!

    September 18, 2014 at 1:19 pm #124946
    Tonya
    Member

    Sorry I've been swamped.

    The following changes will affect both the home page and the individual posts:

    1. Line 127 - which makes the post's header left justified and not centered

    .entry-header {
         border-bottom: 1px solid #eeeee8;
         margin-bottom: 32px;
         margin-bottom: 1px;
         text-align: left; /* was center; */
    }

    2. Then add the following lines on line 128:

    .entry-content p {
         text-align: left;
    }

    Cheers,
    Tonya


    Software & Electrical Engineer and Programming Teacher ยท I’m on a mission to help developers be more awesome.
    Find Me: KnowTheCode.io | @hellofromTonya | Profitable WordPress Developer Bootcamp

    September 18, 2014 at 2:28 pm #124950
    ddknight
    Member

    Thank you Tonya,

    I think I made the correct edits but dont see a difference after refreshing lol. I edit the child theme and see no line numbers so I searched for your code.

    September 18, 2014 at 2:35 pm #124951
    Tonya
    Member

    A few things:

    1. When using the builtin WordPress editor, there are no line numbers.

    2. You need to also change the version of your child theme in order for the new changes to appear. Within your functions.php, change CHILD_THEME_VERSION as follows:

    define( 'CHILD_THEME_VERSION', '1.0.4' );

    Your version will be different than this one. But essentially you want to increment the last digit up one, e.g. using my example would be 1.0.5.

    3. Looks like you are using a cached version on your website. You need to refresh your cache by clearing it.

    BTW: I want to bring to your attention too that you don't have to modify your child theme directly. You could be using my Customize plugin, which allows you to do these things without ever touching your child theme.


    Software & Electrical Engineer and Programming Teacher ยท I’m on a mission to help developers be more awesome.
    Find Me: KnowTheCode.io | @hellofromTonya | Profitable WordPress Developer Bootcamp

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble