• 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

Altering behavior of Infinity Pro sections

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 › General Discussion › Altering behavior of Infinity Pro sections

This topic is: resolved

Tagged: home page template, Infinity Pro

  • This topic has 3 replies, 2 voices, and was last updated 8 years, 1 month ago by jonneygee.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 3, 2017 at 3:51 pm #205849
    jonneygee
    Member

    I'm a seasoned PHP and WordPress developer but I'm new to Genesis. I have a client using Infinity Pro who wants to make home page section 2 mirror the look of section 6 - essentially making section 2 work as a "team member" section with text from the page that appears on an image hover. I've changed the CSS in style-front.css for section 2 to match section 6 with absolutely no change at all. There's obviously something I'm missing somewhere. Any suggestions?

    May 4, 2017 at 5:52 am #205877
    Victor Font
    Moderator

    You probably didn't have to change the CSS at all. Front-page.php adds the classes to the widget areas using a function, infinity_widget_area_class( 'front-page-2' ). All you would have had to do is change the 2 to a 6.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 4, 2017 at 11:29 am #205898
    jonneygee
    Member

    Thanks for the suggestion, Victor. Unfortunately, that didn't cause any change at all either.

    May 4, 2017 at 12:27 pm #205901
    jonneygee
    Member

    This issue is now resolved. In case anyone else faces the same issue, here's how to solve it:

    • Change the 2 to a 6 as Victor mentioned above.
    • Also add the filters applied to section 6 to section 2 and remove them after section 2. This can be done with the following code:

    Before the section 2 line:

    	//* Add entry-title filter
    	add_filter( 'genesis_featured_page_title', 'infinity_title' );
    	
    	//* Add team-member class
    	add_filter( 'genesis_attr_entry', 'infinity_widget_entry_open' );

    After the section 2 line:

    	//* Remove entry-title filter
    	remove_filter( 'genesis_featured_page_title', 'infinity_title' );
    	
    	//* Remove team-member class
    	remove_filter( 'genesis_attr_entry', 'infinity_widget_entry_open' );
    	
  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Altering behavior of Infinity Pro sections’ is closed to new 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