• 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

Center Blog Title – Minimum

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 › Center Blog Title – Minimum

This topic is: not resolved

Tagged: minimum

  • This topic has 6 replies, 3 voices, and was last updated 13 years, 1 month ago by KABYT.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • June 28, 2013 at 10:39 am #48226
    KABYT
    Member

    I deleted the subscribe button by adding this code to the editor.

    .page-title-button {
    display: none;
    }

    I'm trying to now center my page title and it doesn't seem to be working. Any help would be great.

    http://www.kabyt.com

    http://www.kabyt.com
    June 30, 2013 at 1:46 pm #48567
    Stewart
    Member

    Hi,

    Try adding the text-align:center; to line 489 of your style.css:

    #page-title p {
    text-align: center;

    Hope this helps
    Stewart


    WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
    Follow me on Twitter

    June 30, 2013 at 5:38 pm #48588
    KABYT
    Member

    That doesn't work. I think it has something to do with the fact that the subscribe button area is still in the code and not displayed.

    July 1, 2013 at 6:24 am #48652
    Stewart
    Member

    Ok, Instead of hiding the subscribe now button try removing it from the code, I believe with the minimum theme the code that actually outputs the subscribe button is in the page-title.php file.

    Once you have removed the code, then try centering the text again.

    Stewart


    WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
    Follow me on Twitter

    July 1, 2013 at 3:57 pm #48748
    KABYT
    Member

    I see it in the page-title.php file. Do you know what it should look like after?

    Here is what it currently looks like...

    <?php

    if ( is_home() ) {
    echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    elseif ( is_404() ) {
    echo '<div id="page-title"><div class="wrap"><p>' . __( 'Ooops!', 'minimum' ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    elseif ( is_post_type_archive( 'portfolio' ) || is_singular( 'portfolio') ) {
    echo '<div id="page-title"><div class="wrap"><p>' . __( 'From the Portfolio', 'minimum' ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    elseif ( is_singular( 'page' ) ) {
    echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    elseif ( is_author() || is_category() || is_date() || is_search() || is_singular() || is_tag() ) {
    echo '<div id="page-title"><div class="wrap"><p>' . __( 'From the Blog', 'minimum' ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    else {
    echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }

    July 1, 2013 at 4:48 pm #48755
    Doak Heggeness
    Member

    There is a" that should not be there as well as the __( 'Subscribe Now', 'Minimum' )

    So it should look like this I believe.

    if ( is_home() ) {
    	echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '</p></div></div>';
    }

    Doak Heggeness, WordPress Development | Website

    July 1, 2013 at 8:54 pm #48781
    KABYT
    Member

    Is that for all the entries?

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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

© 2026 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