-
Post count: 24themanNovember 1, 2017 at 7:23 pm #24900
Can it be possible heros and sliders fully clickable images? we have to click post title for entering the content.. I want to make it like modules..
Post count: 2759JegbagusNovember 2, 2017 at 1:01 pm #24905hi msbts,
In this case you will need to do some changes in there. Firstly, you need to use JNews Child theme, so the changes that you meade will not lost when you’re going to updating JNews.
Please put the following code below into
functions.php
on JNews Child theme :1234567891011121314151617181920212223242526if ( ! function_exists('jnews_additional_footer_script') ){add_action( 'wp_footer', 'jnews_additional_footer_script' );function jnews_additional_footer_script(){$script ="<script>(function($){'use strict';$(document).ready(function(){$('.jeg_heroblock .jeg_block_container, .jeg_slider_wrapper .jeg_slide_item').bind('click', function(){var url = $(this).find('.jeg_post_title > a').attr('href');window.open(url, '_self');});});})(jQuery);</script>";echo $script;}}Then you need to put this css code below into Customizer Panel > Additional CSS :
123.jeg_heroblock .jeg_block_container:hover {cursor: pointer;}Let us know if this changes works or not.
Thank you
Post count: 24themanNovember 2, 2017 at 6:52 pm #24919Post count: 11438AdekNovember 3, 2017 at 1:24 am #24924Hi msbts,
Please try this code below and replace the previous code on the
functions.php
:123456789101112131415161718192021222324252627282930313233343536if ( ! function_exists('jnews_additional_footer_script') ){add_action( 'wp_footer', 'jnews_additional_footer_script' );function jnews_additional_footer_script(){$script ="<script>(function($){'use strict';$(document).ready(function(){$('.jeg_heroblock .jeg_block_container, .jeg_slider_wrapper .jeg_slide_item').bind('click', function(){var url = $(this).find('.jeg_post_title > a').attr('href');window.open(url, '_self');});// overlay slider$('.jeg_overlay_slider_wrapper, .jeg_overlay_container, .jeg_overlay_caption_container').bind('click', function(e){if ( $(e.target).hasClass('jeg_overlay_slider_wrapper') || $(e.target).hasClass('jeg_overlay_container') || $(e.target).hasClass('jeg_overlay_caption_container') ){var element = $(this).parent('.jeg_overlay_slider').find('.jeg_overlay_slider_bottom .owl-item.active .jeg_overlay_slider_item.active').attr('href');window.open(element, '_self');}});});})(jQuery);</script>";echo $script;}}Then you need to add this css code below into Customizer Panel > Additional CSS :
123.jeg_overlay_slider_wrapper:hover, .jeg_overlay_container:hover {cursor: pointer;}Thank you
Post count: 24themanNovember 19, 2017 at 11:04 pm #25655Post count: 13jpbrunelleNovember 20, 2017 at 12:36 am #25656Did this wrk for @theman?
Post count: 24themanNovember 20, 2017 at 3:04 am #25681Worked for carousell and overlay slider. But not worked very well for standart slider on mobile. I think the Jeg Team must include this function on next update for all of us 🙂
Post count: 11438AdekNovember 20, 2017 at 3:12 am #25682@theman,
Regarding this issue, please try to go Customize > JNews : Speed Option > Advanced Options then enable Load jQuery Early option. After you have done with that setup, please try to clear all data cache on your site.
You can try to follow the instructions on above.
Let us know if you have further question.
Thank you
Post count: 24themanNovember 20, 2017 at 3:26 am #25684Captions gone and slider not running. Only first image showing..
Post count: 11438AdekNovember 20, 2017 at 4:13 am #25689Hi theman,
I just check your site again on my side and can you please confirm if you already enable Load jQuery Early option? Becuase i don’t see any changes on my side.
Thank you
Post count: 24themanNovember 20, 2017 at 5:00 am #25694Disabled for now. Enabling again. You can check
Post count: 24themanNovember 21, 2017 at 12:16 am #25728Post count: 2689RaiNovember 21, 2017 at 12:32 am #25729Hi theman,
Could you try to disable other 3rd party plugins? And if you use JNews – Speed plugin please “Purge cache” on the Plugins menu.
Thank you
Post count: 24themanNovember 21, 2017 at 12:36 am #25730What kind of 3rd party plugins? Only for Cache Plugins or All off?
Post count: 2689RaiNovember 21, 2017 at 2:01 am #25750You could try to disable cache plugin (but clear cache first) and clear your browser cache as well. If it doesn’t work, please try to disable other plugin but keep “WPBakery Visual Composer”, JNews – Essentials” & “Vafpress Post Formats UI” plugin active.
Thank you
You must be logged in to reply to this topic.