• 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

Title for front page 2 widget area

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 › Title for front page 2 widget area

This topic is: not resolved

Tagged: Author Pro, title, widget area

  • This topic has 1 reply, 2 voices, and was last updated 6 years, 11 months ago by Christoph.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 24, 2016 at 4:43 am #179776
    livio
    Member

    Hi everybody!
    I'm new here, I'm from Italy, so I speak very bad english, Sorry.
    I have a question for you all. I'd like to give a title for the front page 2 widget area (the one with the books). I mean, not a title for every single book, but a title for the area (for example, "My books").
    Do you have any idea?
    Thank you!

    http://www.lovemeinitaly.com
    February 25, 2016 at 11:42 pm #179957
    Christoph
    Member

    Hi,

    open front-page.php.
    Around line 60 you will find the following code:

    'before' => '<div id="front-page-2" class="front-page-2"><div class="flexible-widgets widget-area' . author_widget_area_class( 'front-page-2' ) . '">',

    Replace it with:
    'before' => '<div id="front-page-2" class="front-page-2"><div class="front-page-2-title"><h2>My Books</h2></div><div class="flexible-widgets widget-area' . author_widget_area_class( 'front-page-2' ) . '">',

    You can change text and/or the <h2> markup.
    To style and/or position the title, add the class .front-page-2-title to your style.css
    (depending on the changes you might have to add .front-page-2-title h2, too)


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

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

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