Pro global block is going crazy

Dear Support,
I was using Global Blocks that I included in my Pro-Footer, everything was going fine but in a while it crashed.
In the footer my GLOBAL BLOCKs is showed very thin (about 10 pixels!!) instead of full width! I tryed to create new empty GLOBAL BLOCK, I edit only background color but nothing to do… always 10 pixel width. I purged all caches, re-install the Child but I get always the same problem. Please give me support …

2nd update
Other sections of the website have the same problem:

Hi!
It is on a development server, You have to access by editing the Hosts file

Hi Alessio,

Thank you for writing in, I tried to look for it but I can’t find the page with the Global Block, please provide us the direct link of the page.

In the meantime, please look for a broken HTML tag on the content of the said page and address it.

Cheers!

thank you for your reply,

I tried with chrome expextionto edit this page http://www.spalla.it/portfolio-item/case-study-5/ and by deleting " class=“entry-wrap cf” it goes fine but I can’t sure this is the right fix and I don’t know how to “click” in Pro options, please help me, tomorrow I have a meeting with my customer…

It is on a development server, You have to access by editing the Hosts file

Hi Alessio,

Those two issues aren’t related, the second issue was due to this custom CSS

.single-x-portfolio .entry-featured {
    display: none !important;
}

Featured image is placed on the left while content on right, and it’s normal on ethos stack portfolio layout. What you did is just hidden the featured image hence, the content looks like pushed on the right which is normal as the second column. To make it full-width then make sure to add this as well along with that custom CSS.

.single-x-portfolio .entry-wrap {
    float: none;
    width: 100%;
    clear: both;
}

As for the footer, may I know the login URL first? The usual login URLs return 404.

Thanks!

Thank Rad, you are rescue me ,

I want to show custom layout for the portfolio post but it seems that PRO doesn’t have a wysiwyg for this and I am a designer with very few knowledge of php and css, this is why I choose pro because it has (almost) a wysiwyg logic base.
I deleted custom CSS as you suggested me but the default portfolio post template pull down my custom layout… How can I fix this? thank you, thank you, thank you, thank you, thank you, thank you. :wink:

Hi Alessio,

The pro builder is only applicable for content, header, and footer. It has no capability to edit the page/post templates where the layout are defined, at least for now :slight_smile:

What you’re trying to change is outside the builder, so please implement the recommended fixes for now.

I like to check but your site has an issue with a child theme.

If you’re currently working on it then let us know once fixed. Removing that CSS shouldn’t cause that issue either, unless the entire CSS is broken and partially affected by accidental removal of some CSS block or brackets.

But I’m confused in your screenshot, it says Custom Layout I want display. In that case, you don’t have to remove that CSS, instead just add the CSS that I additionally provided. So the final CSS should be

.single-x-portfolio .entry-featured {
    display: none !important;
}
.single-x-portfolio .entry-wrap {
    float: none;
    width: 100%;
    clear: both;
}

Thanks!

Hello Rad,

Sorry I was doing some activites with the server.
Now the website is online (for few hours) .
Please I need your help with the default portfolio post template , I want to delete the default code that display the portfolio post so I will have a blank and empty page and I can add what I did and that now is pulled down.
may you give me some more support? Which is the file I have to edit?
thank you

2nd update
I found this file in wp-content/themes/pro/framework/views/ethos, I would like to delete in the portfolio post everything that is showed by defalut.

<?php // ============================================================================= // VIEWS/ETHOS/CONTENT-PORTFOLIO.PHP // ----------------------------------------------------------------------------- // Portfolio post output for Ethos. // ============================================================================= ?> > <?php x_ethos_entry_top_navigation(); ?>
<?php x_portfolio_item_featured_content(); ?>
<?php x_get_view( 'global', '_content', 'the-content' ); ?>
<?php x_portfolio_item_project_link(); ?> <?php x_portfolio_item_tags(); ?> <?php x_portfolio_item_social(); ?>

Hello Alessio,

This is the content of the content-portfolio.php file:

<?php

// =============================================================================
// VIEWS/ETHOS/CONTENT-PORTFOLIO.PHP
// -----------------------------------------------------------------------------
// Portfolio post output for Ethos.
// =============================================================================

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  <?php x_ethos_entry_top_navigation(); ?>
  <div class="entry-featured">
    <?php x_portfolio_item_featured_content(); ?>
  </div>
  <div class="entry-wrap cf">
    <?php x_get_view( 'global', '_content', 'the-content' ); ?>
    <div class="entry-extra">
      <?php x_portfolio_item_project_link(); ?>
      <?php x_portfolio_item_tags(); ?>
      <?php x_portfolio_item_social(); ?>
    </div>
  </div>
</article>

If you want to delete everything that displays for the portfolio item, then you will left with this code instead:

<?php

// =============================================================================
// VIEWS/ETHOS/CONTENT-PORTFOLIO.PHP
// -----------------------------------------------------------------------------
// Portfolio post output for Ethos.
// =============================================================================

?>

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

Please note that custom coding is outside the scope of our support. Issues that might arise from the use of custom code and further enhancements should be directed to a third party developer.

Hope this helps.

Dear RueNel

thank you for your reply but it doesn’t fix what I need because by deleting also this function <?php x_get_view( 'global', '_content', 'the-content' ); ?> it doesn’t display the other stuff I placed with PRO.
You are right and I understood that I should contact a third party developer, but I have really few hours to accomplish the website and when last month I bought my two PRO licenses I thought it was easy for a beginner like me to develop this, and another, website with Pro. For sure I was wrong in my considerations but I am happy to learn this great tool and I hope in the future you’ll do your best to grow Pro functionalities.
If you can help me I will be very happy in case no, thank you anyway!

Hey Alessio,

If you want to present the portfolio item content section, then you use this code:

<?php

// =============================================================================
// VIEWS/ETHOS/CONTENT-PORTFOLIO.PHP
// -----------------------------------------------------------------------------
// Portfolio post output for Ethos.
// =============================================================================

?>

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

  <div class="entry-wrap cf" style="width: 100%; float: none;">
    <?php x_get_view( 'global', '_content', 'the-content' ); ?>
  </div>

</article>

Pro theme is for intermediate and advanced users like designers and developers.

Best Regards.

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