Hi there! Love your theme.
I’ve noticed that next/prev arrows disappear when a portfolio entry has a Layerslider element in it (example below). Is there a way to fix it?
Thanks!
Hey Cocoa,
Thanks for your question I’m not sure why, but I have asked the rest of the team for advice. In my test if the LayerSlider shortcode is added to a code block element the next/prev arrows do show, but the LayerSlider is not full width. We could probably make the code block full width, but let’s wait for the team to offer some advice first. Thank you for your patience.
Best regards,
Mike
Ok, I’ll be waiting for your answer. I’ve updated the example’s link.
Regards.
Hi,
Post nav is disabled on portfolio items that has fullwidth elements by default.
To enable it, please add the following code to the Functions.php file of your child theme in Appearance > Editor:
add_filter('avia_post_nav_settings','avia_remove_fullwidth_slider_check', 10, 1);
function avia_remove_fullwidth_slider_check($settings)
{
$settings['is_fullwidth'] = false;
return $settings;
}
Best regards,
Yigit
Hi Yigit!
I just did but I did not work. Any hints?
Please find temporary WordPress credentials below.
Regards.
Hi,
I updated the code to the following one and it worked:
function avf_post_nav_settings_mod($settings) {
$settings['is_fullwidth'] = false;
$settings['skip_output'] = false;
return $settings;
}
add_filter('avf_post_nav_settings','avf_post_nav_settings_mod', 999, 1);
Please review your website.
Regards,
Yigit
Awesome, thanks!