• 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

editing team page template – Infinity Pro theme

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 › editing team page template – Infinity Pro theme

This topic is: not resolved

Tagged: template Infinity pro

  • This topic has 0 replies, 1 voice, and was last updated 5 years, 10 months ago by rocheliwebpro.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • July 14, 2017 at 1:53 am #209085
    rocheliwebpro
    Member

    I need to add text to http://katlowitzandassociates.rochelielefant.com/attorneys/ that appears when you hover over the attorney image. I did this on the home page http://katlowitzandassociates.rochelielefant.com/ with putting the text inside the div that contains the img, in another div, using position relative and absolute. I also used jquery to make the display:none class appear when hovering on the image. I would like to do the same on this page. Below is the template for the "team page" template I am using from the Infinity Pro Genesis child theme. Right now it's in the regular content area of the page so because of the the css and jquery (like on the home page) when I hover on the image it appears, but not in the right place because it's not in the same div.

    Where can I add the div for the "specialization text"? I would like it to be in the same div as the image. Also, how do I add a div around the image? Do I use Advanced custom fields for this?

    (only copied relevant portion of code)
    // Add team member featured image.
    function infinity_page_team_image() {

    $image = genesis_get_image( array(
    'format' => 'html',
    'size' => 'team-member',
    'attr' => array ( 'alt' => the_title_attribute( 'echo=0' ) ),
    ) );

    if ( $image ) {
    printf( '%s', get_permalink(), $image );
    }

    }

    // Add team title field.
    function infinity_team_title() {

    $title = '';

    if ( genesis_get_custom_field( 'team_title' ) ) {
    $title = '<p class="team-title">' . genesis_get_custom_field( 'team_title' ) . '</p>';
    }

    echo $title;

    }

    http://katlowitzandassociates.rochelielefant.com/attorneys/
  • Author
    Posts
Viewing 1 post (of 1 total)
  • The topic ‘editing team page template – Infinity Pro theme’ 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

© 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