-
Search Results
-
Dear Enfold Support
As suggested by Enfold’s support member Ismael, I open this separate topic about the issue I mentioned firstly on another thread: https://kriesi.at/support/topic/accordion-toggles-deeplinking/#post-1327294
I have an accordion with the toggle’s mode “one toggle open at a time”. If I open the first toggle of an accordion on bigger screens (desktop view) and scroll down to the second toggle and open it, the first toggle closes and the document scrolls to the top of the second toggle but the toggle is covered by the sticky header. This always happens if you click from toggle to toggle. On small screens (mobile view) the open toggle is always visible on the top of the page as expected because the header isn’t sticky. I made a short screen video (see link in Private Content) that shows what I mean.
Ismael has provided the following code for the child theme’s functions.php to control the scroll offset:
function avf_header_setting_filter_mod($header) { if(!wp_is_mobile()) { $header['header_scroll_offset'] = $header['header_scroll_offset'] - 100; } return $header; } add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);Ismael also specified his solution as follows:
The theme actually ignores the main container’s offset on mobile view, so the filter above will not work. You will also have to edit the themes/enfold/js/avia.js file as instructed in this older thread.
https://kriesi.at/support/topic/scroll-postion-one-page-mobile/#post-1338429I followed Ismael’s instructions but they haven’t the expected impact yet. On desktop browsers, the sticky header still covers the toggles of the accordion.
I found out that Ismael’s PHP function might not be reloaded or reinitialized properly if you click from toggle to toggle within the same browser window/tab. It only seems to work properly if you copy the URL of a toggle in the address bar of a new browser window/tab. Then the toggle is at the defined scroll-offset position (according to the PHP function) below the sticky header.
I really appreciate if you could provide a reliable solution very soon.
Please see site details in Private Content.Kind regards
UeliTopic: Cannot Log-in for support
Hi, I purchased Enfold through ThemeForest, I registered my account for support and I cannot log in to my Kriesi account.
I have purchased the version today itself. How to update it from an existing website based on the Enfold theme which was never updated after version 4.2.3..I want o update to the latest ver 4.9? In the Theme Update section under Theme Options…it’s asking for the Your Themeforest User Name & the Your Themeforest API Key. Can you please tell me how I proceed from here?
Topic: Logo Slider breaking in 4.9
After upgrading to 4.9 I am now getting an error on my page that uses the Partner/Logo Element
[21-Mar-2022 18:57:40 UTC] PHP Fatal error: Uncaught Error: Call to undefined method avia_partner_logo::default_args() in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php:789 Stack trace: #0 /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php(858): avia_sc_partner_logo->get_element_styles(Array) #1 /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1142): avia_sc_partner_logo->shortcode_handler(Array, '', 'av_partner', Array) #2 /wp-includes/shortcodes.php(356): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '', 'av_partner') #3 [internal function]: do_shortcode_tag(Array) #4 /wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(av_par...', 'do_shortcode_ta...', '</p>[av_partner...') #5 /wp-content/themes/enfo in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php on line 789Topic: Cookies Box Spacing
Hey Enfold team,
I’d like to make some styling changes to the cookie box on my website:
– move the buttons to the left and reduce the space between them
– reduce the space between the buttons and the text above
– reduce the space between the buttons and the bottom border
– reduce the width of the boxPlease see screenshot.
I could make some changes myself by using and changing css codes I found on this topic in the community.
Unfortunately, this didn´t work for all the desired changes.
So please help.Thank you very much in advance.
Best regards, fkm
I did look and many topics were quite old so I wanted to know, based on v4.9+, WordPress 5.9.2+, and PHP 7.4+, what is considered the best practice when dealing with a server that has Redis Cache enabled? I saw there were a lot of anomalies with the Post CSS file that is generated. In some situations the file would have been deleted but the object cache still says the CSS file exists causing the page to load without the proper CSS.
I do see there is few Advanced Settings within Enfold to try and fix WordPress Object Cache bugs, but that seemed more related to files being generated non-stop but this seems to be a different issue. But even if this is similar, the names for the fixes don’t seem very self-explanatory. I also see there is an option to disable the Post CSS file generation in the first place.
So what I would like to know is what is the best way to handle this situation? Is it easier/better to just disable the Post CSS file generation? Is there no real significant impact there? Or is it better to use one of the options in the Advanced Settings, and if so, which one?
== Theme Settings -> Performance -> Advanced Options ==
Unique timestamp of merged files and WP object cache bug:
– Add unique timestamps (= default)
– Disable adding unique timestamps only
– Fix WP bug, add unique timestamps
– Fix WP bug, disable unique timestamps== Disable Feature (in functions.php) ==
/**
* Filter to skip css file generation.
* You can add logic to skip for certain pages/posts only.
*
* @since 4.8.6.1
* @param boolean $create
* @return boolean true | false or anything else to skip generation of css file
*/
add_filter(‘avf_post_css_create_file’, ‘__return_false’);Topic: pageload and speed
in the new enfold version there for every site one css file. when i use an section and make height in %, the loading ist very long/slow. i can “see” the calculation of the %. in the old version its loads faster! why is there an extra css file for every site/page? it not depends on caching or minifiying! with or without.
Topic: Upgrade to PHP 8.0
My site is running Enfold 4.7.3. My hosting provider (Bluehost) wants me to upgrade to PHP 8.+ but the theme is failing. According to my developer “I checked the code. Some theme functions are deprecated in PHP 8” For example, we get the error below:
An error of type E_COMPILE_ERROR was caused in line 2161 of the file /home1/prologik/public_html/wp-content/themes/enfold/config-layerslider/LayerSlider/helpers/phpQuery.php. Error message: Array and string offset access syntax with curly braces is no longer supportedWhat’s the resolution path here?
Hello,
the .scroll-down-link is not 100% centered. Please find the URL to a development environment in the private section and check the arrow after the first color section.
We tested with Enfold 4.8.9.1 and Enfold 4.9.
Viewing 30 results - 27,391 through 27,420 (of 244,621 total)
