Portfolio items do not appear under Windows & Firefox

Hello,

the portfolio items do not appear under Windows + Firefox on my productive site

http://salilou.com/projekte/

Mac + Safari is OK.

I hope you can reproduce it.

Thank you for your support!

Hi There,

I can see the issue. Although, I can’t duplicate it on my setup even after using the same Cornerstone, X theme version and same Ethos stack . There’s something that is preventing masonry from working properly. Portfolio items are there when I check the source code, it is just that the CSS settings that is added on the fly for the each item position is not added correctly. Can we do a basic troubleshooting first? You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time. If the issue persist, can you give us credentials too on a secure note so we can investigate further? Thank you

Hi Lely,
thank you. I deactivated all plugins. Theme x reactivated Cornerstone automatically.
The issue was still there.
Then I deactivated the Theme X child theme and activated the Theme X.
Now it works.
Can you see what causes the problem?
I want to use the child theme.
Do you need credentials?
Thank you

The site is in construction mode now. The Password to enter frontend:

Hi there,

There must a code that was added in the child theme that is causing the portfolio items not to show up on Windows Firefox.

Would you mind providing us with the admin and FTP details of your site in a Secure Note so that we can check it. If there are customizations that you have added in the child theme that is required specifically for your site to functions, we might not be able to provide the updated code for it as additional customization is beyond the scope of our support but what we can check is which code is causing the issue.

Thank you.

OK, here it is. I have activated all plugins and child theme again.
The problem is on Mac Safari, too.
Thank you!

The site is in construction mode still. You can make changes. Please tell me which changes you made.

Hi There,

With wordpress credentials, what I can only access is style.css and functions.php file of your child theme. Current content of those 2 files are just default. This means, the root cause of the issue might be coming from other files. What I can suggest is, using FTP, login to your server. Save a backup of your child theme (x-child) . Then from your dashboard, download a clean copy of child theme. Replace the child theme with this clean unedited version of the child theme. Then from your backup, upload other customize template one bye one on this new child theme. Check the portfolio page after every upload of new customize template. This way we can figure out which file was causing the issue.

Hope this helps.

Thank you.
I found the cause.
I had inserted somewhen some custom css code that should hide the filter field on the portfolio page.
The code was send to me by your support I guess.
I deactivated the code, now it works on firefox.
For now it is good to show the filter field.
But is it possible to change the word “ALL” to the german?
Thank you!

Hi There,

Please add the following code under functions.php file locates in your child theme:

add_filter('gettext', 'x_translate_text1' );
function x_translate_text1($translated) {
	$translated = str_ireplace('All', 'Your new text', $translated);
	return $translated; 
}

Thank you - it works great!

You’re welcome! :slight_smile:

Hi @paul.r
I’ve noticed that the code snippet has an unwanted side effect: The word “All” is now translated to “All” throughout the site. For example, in “Hello” - this is to “Hello”.

Hey @salilou,

I recommend that you copy _portfolio.php file located in framework\views\global to the same folder structure in your child theme. Edit the copied file and find and replace the string or words All Categories.

Thanks.