Tagged: x
-
AuthorPosts
-
November 4, 2016 at 3:02 pm #1244247
JulianwolfParticipantHi
I want to add an animation like this: https://theme.co/cornerstone/elements/ in the section “We’ll Show You The Way.” I want to integrate a similar effect on a page builded in visual composer. It’s possible?
thanks
P.S. how can I add the comment section in a page like this? http://julianpostolachi.com/modello-articolo/
thanksNovember 4, 2016 at 11:06 pm #1244693
Rue NelModeratorHello There,
Thanks for writing in! The animations were exclusively built for Cornerstone elements. It is way different from animations, if there is, in Visual Composer. You can enable the fade effect in the column settings and choose a few fade animations.

I guess you need an additional addon to do that in in Visual Composer. You may check this out: https://vc.wpbakery.com/addons/visual-composer-animations/
Please keep in mind that the comments template is only available when you are using the default page template, Layout – Fullwidth, Layout – Content Left, Sidebar Right and Layout – Sidebar left, Content Right page templates.
Hope this helps.
November 5, 2016 at 2:44 pm #1245237
JulianwolfParticipantsoo.. How can I add the comment section in this page, for example? http://julianpostolachi.com/modello-articolo/
thanksNovember 6, 2016 at 1:41 am #1245605
Rue NelModeratorHello Again,
As I mentioned in my previous reply, the comments template is only available when you are using the default page template, Layout – Fullwidth, Layout – Content Left, Sidebar Right and Layout – Sidebar left, Content Right page templates. You need to change your page templates.
If you insists of adding a comment template on this page alone, what you are trying to accomplish requires a template customization, we would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
After the child theme is set up, please add the following code in your child theme’s functions.php file
// Add a comment template to page id 240 // ============================================================================= function add_comments_template(){ if ( is_page(240) ) { x_get_view( 'global', '_comments-template' ); } } add_action('x_before_view_global__comments-template', 'add_comments_template'); // =============================================================================Hope this helps.
November 6, 2016 at 6:06 am #1245797
JulianwolfParticipantok thanks
November 6, 2016 at 7:13 am #1245846
ThaiModeratorYou’re most welcome 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1244247 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
