Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #283747

    Please help me out, the pesky ‘previous’ and ‘next’ portfolio UI controls are hidden wherever there is a ‘simple fullscreen’ slider’ incorporated. I think there might have been a code mod from my side a long time back but then with a recent update of Enfold I’m wondering if somethinhg changed and they disappeared – it’s quite a big issue and I’d have flagged it sooner.

    PREV / NEXT ARROWS – GREAT

    http://freelancewebdesign.co.za/portfolio-item/website-user-interface-design/

    NO ARROWS – NOT GREAT

    http://freelancewebdesign.co.za/portfolio-item/oway-website-user-interface-design/

    Thanks in advance.

    #283862

    Hi fusion01!

    Thank you for using the theme!

    Please add this on functions.php:

    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,
    Ismael

    #283869

    Thanks. Well I did neaer the bottom of the theme’s function.php file (located at ‘wp-content’ > ‘enfold’ > root) but the site fails to then load with the error: “Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /usr/www/users/freelan/newsite/wp-content/themes/enfold/functions.php on line 433″

    Please advise further.

    #283930

    Hi!

    It does work when I test it. Please place it at the very bottom of functions.php file. Make sure that you copy the whole code. If possible, place the whole functions.php on pastebin.com. We’ll check it.

    Regards,
    Ismael

    #284104

    Worked a charm pasted right at the bottom! Thanks!

    Big question here with this now is when updating the theme and functions.php file, will this mod be overwritten? Have to dig it up each time I update?

    #284572

    Hi!

    Yes, each update will overwrite this mod. You can install a child theme and place the code into the child theme functions.php file if you want an update-safe solution. http://www.kriesi.at/documentation/enfold/using-a-child-theme/

    Cheers!
    Peter

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.