Hello
I have a serious problem with one of my CPT content templates I've created in Toolset. I use the DIVI theme, everything is updated. The strange thing is that it worked without problem, and I moved on to other areas and I've just noticed today that the footer moved up and a big part of the post is missing in the browser: hidden link
Strangely it is there in the source view and I couldn't find any html anomalies. I even deleted that template and created a totally new template, without using Builder for it, only title and a field, and some lorem ipsum text, so you can see how it cuts the content in half...
This is a very similar content template, and works perfectly: hidden link
Please help me find quickly a solution for this... I also post the problem to Elegant Themes support too.
WordPress automatically applies the class "activities" to this post, because this is the custom post type slug. Please look at the attached screenshot. You can see that I have disabled the "height" attribute on the "activities" class in the browser developer tools, and the post returns to full height. It appears that this height style is defined in your theme's style.css file. It's not something Toolset can control, but I can help you override it.
Go to wp-admin > Appearance > Customize > Additional CSS and paste the following code:
.single-activities .activities {
height: inherit;
}
This should override your theme's height styles applied to the "activities" CSS class, but only on the single Activity pages. Other pages should not be affected.
Thank you Christian, you helped me out quickly as usual. Sorry to bother you with such a simple problem, it work just fine now.
But with the same CPT I found another problem which seems more complicated. And it's WPML related. I have a taxonomy archive to show the activity categories, but I used Divi Builder to create my layout and I created the taxonomy-activity-category.php where I inserted the layout as shortcode. The problem is that when switching languages the posts don't show in the other languages except the english. It seems the permalink does not translate. I translated the tanoxnomies and the taxonomy label.
This is the page that lists the categories: hidden link
When you switch the language you can see that the link of the categories has the same activity-category slug in the permalink in every language. I've consulted wpml help for this and it says it can't be translated: https://wpml.org/faq/translate-taxonomy-slugs-wpml/. That's okay, let's keep it in english, but it is still not working...
I've split your question into another ticket, because it's our support policy to address one issue per ticket. Thanks!