Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1171385

    Hi Enfold team,

    I’m working on a few portfolio items for my website http://www.exigywordpress.com
    One such portfolio item is http://www.exigywordpress.com/solutions/sales.

    Usually, portfolio items by default would have a small side navigation on hover that would let users click to the next respective item in the portfolio. However, since placing an advanced layerslider at the top as a header, I’ve noticed that the side navigators for this one particular portfolio item have gone missing. The rest are still there in other pages (you can see http://www.exigywordpress.com/solutions/project-service as an example.

    How can I bring back the side navigation while keeping my advanced layerslider?

    Thanks

    #1171509

    Hey,

    Please add following code to Functions.php file 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;
    }

    Post nav is disabled on portfolio items that has fullwidth elements by default.

    Best regards,
    Yigit

    #1172262

    Thanks for your reply Yigit,

    Unfortunately, when entering that code into the editor, I am met with this error;

    Your PHP code changes were rolled back due to an error on line 9 of file wp-content/themes/enfold2/functions-enfold.php. Please fix and try saving again.

    Cannot redeclare avia_remove_fullwidth_slider_check() (previously declared in wp-content/themes/enfold2/functions.php:742)

    #1172266

    Hi,

    Error states that you have already included the code in functions.php file located in wp-content/themes/enfold2 and on 742nd line.

    Please go to that file via FTP and delete the code from the file.

    If you would like us to fix it for you, please post FTP logins here privately :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.