WordPress.org

Ready to get started?Download WordPress

Forums

Portfolio Press
[resolved] Show title and excerpt on mouseover missing (2 posts)

  1. knappdl
    Member
    Posted 3 months ago #

    Before updating to 3.9, I had modified the content-portfolio.php from:

    <a>" rel="bookmark" class="title-overlay"><?php the_title() ?></a>

    to

    <a>" rel="bookmark" class="title-overlay"><span style="font-size:120%;color:#F8951D;"><?php the_title() ?></span><?php the_excerpt() ?></a>

    and was able to successfully display the title along with an post excerpt. After updating, however, the excerpt is now gone. The title also is appearing to be off-center in a number of post thumbnails.

    When I attempted to locate this code in the theme files under content-portfolio.php, it is no longer present.

    Is there a way for me to bring back the mouseover style from before?

    http://davidlknapp.com/portfolio

  2. Devin Price
    Member
    Theme Author

    Posted 3 months ago #

    Upgrading the theme would overwrite any changes you made- but a WordPress core update shouldn't have effected anything.

    If you did overwrite your changes, content-portfolio.php is still the place to look, the markup has just changed slightly.

    Title output on line 27:

    <h3><?php the_title() ?></h3>

    https://github.com/devinsays/portfolio-press/blob/master/content-portfolio.php

Reply

You must log in to post.

About this Theme

About this Topic