Portfolio landmark

Hi,
it’s possible make appear the landmark header on portfolio page (https://moli.se/wp4/archivio/)?
Like blog page (https://moli.se/wp4/blog/).

Many thanks!

Hi there,

The portfolio page should have the same header area like the Blog page as what is shown here.

You just have to set the page template to Layout - Portfolio.

Hope this helps.

I did but now I lose the sidebar: https://moli.se/wp4/portfolio-2/

I need of sidebar on all pages. I also tried to create a new sidebar and assign it to this page, but it does not work :confused:

Many thanks!

Hi There @thomas9999

I see that you’re using Integrity stack. You need to implement some customizations to add a sidebar to your portfolio pages. Please review the following thread and implement your changes accordingly (https://theme.co/apex/forum/t/portfolio-customizations-sidebar-for-integrity/30959).

Thanks!

1 Like

I did but appear only on the index: https://moli.se/wp4/archivio/

on the item appear just the space, not the sidebar :confused: https://moli.se/wp4/archivio/lago-di-guardialfiera/

Hello Thomas,

The portfolio page was designed to be fullwidth. To add sidebar you need to override the single portfolio file through the child theme.

Please login through FTP then create the file wp-single-x-portfolio.php in wp-content/themes/x-child/framework/views/integrity.

Then add the code below into that file:

<?php

// =============================================================================
// VIEWS/INTEGRITY/WP-SINGLE-X-PORTFOLIO.PHP
// -----------------------------------------------------------------------------
// Single portfolio post output for Integrity.
// =============================================================================

get_header();

?>

  <div class="x-container max width offset">
    <div class="x-main leftl" role="main">

      <?php while ( have_posts() ) : the_post(); ?>
        <?php x_get_view( 'integrity', 'content', 'portfolio' ); ?>
        <?php x_get_view( 'global', '_comments-template' ); ?>
      <?php endwhile; ?>

    </div>
    <?php get_sidebar(); ?>
  </div>

<?php get_footer(); ?>

Hope this helps.

1 Like

I did before, but do not works: https://moli.se/wp4/archivio/lago-di-guardialfiera/

I’m using PRO theme, maybe can be this the problem?

Hello Thomas,

In that case, please provide us with the admin and FTP access to your site in a Secure Note so that we can check it:

Thank you.

1 Like

I did, many thanks! :slight_smile:

Hello @thomas9999,

I have check your child theme files using the FTP and it seems all correct. Could you please also provide the access to your WP dashboard? When I checked the mentioned pages, all I got is an error 404.

Please check it out.

I just send… sorry, the portfolio page is this: https://moli.se/wp4/archivio/

Hi Thomas,

It’s a bit weird, the sidebar (ups_sidebar) is returning empty, but if it’s empty then the fall back sidebar which is main sidebar should display. But it’s not, instead, I modified your single portfolio template to directly embed the main sidebar.

There should be a sidebar now.

Thanks!

1 Like

It’s really strange, I agree :confused:

i will try on a new wp installation next days so I can see if it happens again :slight_smile:

Many thanks!

Just the last think if is not a problem: it’s possible - on porfolio item page (https://moli.se/wp4/archivio/trattoria-nonna-maria/) - to move the skill block below the text? in this way the text occupies all the white space and the page is perfect (such as the lower part of the icon theme).

Many many thanks! :slight_smile:

Hello @thomas9999,

To move the extra info to the bottom, please make use of this code in

.x-portfolio .entry-info,
.x-portfolio .entry-extra {
    float: none;
    width: 100%;
    margin-bottom: 30px;
}

We would loved to know if this has work for you. Thank you.

1 Like

Perfect! :smiley:
Many thanks! :slight_smile:

You’re welcome!
Thanks for letting us know that it has worked for you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.