Change portfolio overlay

Hi, I would like to change the overlay on the featured image of a portfolio item in the overview page (where you can see all projects).

Now it says “image”, and I want it to be “project”.
Also the date format isn’t correct.
It is 05.14.18 and it should be 14.05.18

This is the thread I have followed: https://theme.co/apex/forums/topic/replace-text-in-renew-overlay-change-date-format/

I am working in a child theme, I changed the content-portfolio.php file, and uploaded in the correct folder in the child theme.

I’ve also checked the date format under settings>general and it is 14.05.18
However, on the portfolio item it is not showing that way.

Hope you can help.

Hi @digitalpractice,

Thanks for writing in.

First, please update your theme. You must update both the theme and cornerstone and not just one for compatibility.

Then create this file in your child theme

framework\views\renew\content-portfolio.php

with this content

<?php

// =============================================================================
// VIEWS/RENEW/CONTENT-PORTFOLIO.PHP
// -----------------------------------------------------------------------------
// Portfolio post output for Renew.
// =============================================================================

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

  <?php if ( ! x_is_portfolio_item() ) : ?>

    <div class="entry-featured">
      <?php x_portfolio_item_featured_content(); ?>
      <div class="entry-cover">
        <div class="entry-cover-content">
          <span>PROJECT</span>
          <h2 class="entry-title entry-title-portfolio">
            <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php x_the_alternate_title(); ?></a>
          </h2>
          <span><?php echo get_the_date( 'd.m.y' ); ?></span>
        </div>
      </div>
    </div>

  <?php endif; ?>

  <div class="entry-wrap cf">

    <?php if ( is_singular() ) : ?>

      <div class="entry-info">
        <div class="entry-featured">
          <?php x_featured_portfolio( 'cropped' ); ?>
        </div>
        <header class="entry-header">
          <h1 class="entry-title entry-title-portfolio"><?php the_title(); ?></h1>
          <?php x_renew_entry_meta(); ?>
        </header>
        <?php x_get_view( 'global', '_content', 'the-content' ); ?>
      </div>
      <div class="entry-extra">
        <?php x_portfolio_item_tags(); ?>
        <?php x_portfolio_item_project_link(); ?>
        <?php x_portfolio_item_social(); ?>
      </div>

    <?php endif; ?>

  </div>
</article>

Thanks!

Hi there,
Thanks, unfortunately this doesn’t work either.
I updated Theme X, but couldn’t update Cornerstone as it seems to be the latest version (3.0.4).
Then I uploaded the file to the child-theme and nothing seems to have changed.
Thanks for your help.

Hi @digitalpractice

I’ve checked your website and I confirm you are using the latest version of X theme and Cornerstone plugin, however, I can see you are still using X theme, not X-Child theme, if you switched your theme to X-Child you will get all the customization done there live, please check this screenshot:

Thanks.

Oh wow, okay! Thanks!!!