Forum Replies Created
-
AuthorPosts
-
October 27, 2022 at 3:42 pm in reply to: Critical Error after updating plugin and Enfold Theme #1370466
Hey dimrat,
Thank you for using Enfold.
Seems one of the plugin is using the filter incorrect and returns a boolean value instead of an array.
What you can do:
config-gutenberg -> class-avia-gutenberg.php line 693:
public function handler_display_post_states( array $post_states, $post = null )
replace with:
public function handler_display_post_states( $post_states, $post = null )
And before
if( ! $post instanceof WP_Post ) { return $post_states; }
add:
if( ! is_array( $post_states ) ) { $post_states = array(); }
Do not forget to make a copy of the original file for a fallback.
If you need help with this let us know.
Fix will be included in next release 5.3
Best regards,
GünterOctober 24, 2022 at 9:40 am in reply to: Things not loading correctly. Full Width Easy Slider Invisible, etc #1369941Hey mszigzag,
Thank you for using Enfold.
We released 5.2.1 saturday that fixes a bug that could be related to some of the problems you mention above.
Can you try to update to this version please and check again.Thank you and sorry for the problems.
Best regards,
GünterHi,
Just to inform all users: Enfold 5.2.1 had been released and fixes the problem.
Reason could be, that the css file is enqueued in several files. If the fullsize slider is the last then the wrong url overrides previous correct urls. That’s why we did not catch it during testing.
Best regards,
GünterHi,
You can use the same steps as in avia_register_frontend_scripts() in functions.php:
$min_js = avia_minify_extension( 'js' ); $min_css = avia_minify_extension( 'css' ); $condition2 = ..... avia_enqueue_script_conditionally( $condition2 ,'avia-sticky-header', "{$template_url}/js/avia-snippet-sticky-header{$min_js}.js", array( 'avia-default' ), $vn, true );
And you have to upload both files.
Do I missunderstand something?
Best regards,
GünterHi,
Thanks for reporting this. Happend when adding the .min feature.
@Guenni007 Your line above is correct.For other users I uploaded a fixed file to
Please replace the following file:
enfold\config-templatebuilder\avia-shortcodes\slideshow_fullsize\slideshow_fullsize.php
If you need help please let us know so we can help you.
Best regards,
GünterHey Alex,
Sorry for the late reply.
Thank you for your suggestions.
button text in the google maps element
This is intended as anchor tags may only contain a limited set of tags ( see e.g. https://stackoverflow.com/questions/3379392/what-elements-can-be-contained-within-a-a-tag) and to avoid breaking the site for not so experienced users (and translators).
Did you see the filter ‘avf_google_maps_confirm_overlay’? This allows you to redesign the overlay in a child theme without touching the core element.
What I also could offer is to add a filter specific for the overlay text.
Best regards,
GünterHi,
If you want to use a custom js/css file instead of theme files you have to deregister/dequeue theme files as you show above.
avia_minify_extension() returns ‘.min’ or ” depending on theme setting.
If you need it in your child theme depends if you upload both versions (non minified and minified) or only one version.
To see an example how to enqueue files have a look at e.g.
config-templatebuilder\avia-shortcodes\icongrid\icongrid.php function extra_assets():
$ver = Avia_Builder()->get_theme_version(); $min_js = avia_minify_extension( 'js' ); $min_css = avia_minify_extension( 'css' ); wp_enqueue_style( 'avia-module-icon', AviaBuilder::$path['pluginUrlRoot'] . "avia-shortcodes/icon/icon{$min_css}.css", array( 'avia-layout' ), $ver ); wp_enqueue_style( 'avia-module-icongrid', AviaBuilder::$path['pluginUrlRoot'] . "avia-shortcodes/icongrid/icongrid{$min_css}.css", array( 'avia-layout' ), $ver ); wp_enqueue_script( 'avia-module-icongrid', AviaBuilder::$path['pluginUrlRoot'] . "avia-shortcodes/icongrid/icongrid{$min_js}.js", array( 'avia-shortcodes' ), $ver, true );
Best regards,
GünterHey stefpasi,
thanks for informing us.
We are planning to release Enfold 5.2 today or in one of the next days.
I updated layerslider to version 7.5.3 already in core.Have a great day and enjoy the theme.
Best regards,
GünterOctober 11, 2022 at 12:15 pm in reply to: Little correction on "Column Behaviour When Fullwidth" ? #1368418Hi,
see private content.Found a solution for next release !!
Best regards,
Günter-
This reply was modified 2 years, 4 months ago by
Günter.
October 10, 2022 at 6:05 pm in reply to: Little correction on "Column Behaviour When Fullwidth" ? #1368315Hi,
Thanks for your feedback.
Is added to next release:
–enfold-font-family-theme-body
–enfold-font-family-heading
–enfold-font-family-bodyBest regards,
GünterHi,
Added to next release with
–enfold-……
for settings in “General Styling” tab.
Best regards,
GünterHey Guenter,
As far as I see theme.json is mostly related to block editor. So I would not touch that from Enfold.
What I could think of is adding e.g. all the colors of “General Styling” at top of “dynamic-css.php” e.g.
enfold-header-color-bg: "#...'; enfold-header-color-bg2: "#...'; ... enfold-footer-color-bg: "#...'; ....
Best regards,
GünterOctober 8, 2022 at 2:30 pm in reply to: Little correction on "Column Behaviour When Fullwidth" ? #1368056Hey Guenter,
Sorry for the late reply.
I cannot reproduce the problem.
In layout.css you find the following rules:
.responsive #top .av-hide-on-tablet{ display: none !important; }
.responsive #top .av-hide-on-mobile, .responsive #top .av-hide-on-tablet{ display: none !important; }
These hide the columns and cells.
Can you give me the link to the shortcodes to reproduce it please.
Thank you.
Best regards,
GünterHi Günter,
I added a fix:
Can you replace enfold\framework\php\font-management\class-avia-type-fonts.php
with the contents of
This should load in the order of woff2, woff, ttf, svg, eot (if they exist).
You can use filter ‘avf_font_manager_file_formats’ to add additional formats or reorder as you like.
Can you check please.
Best regards,
GünterHey Thomas,
In 4.8.6.3:
added: theme support avia_show_alb_responsive_image_option – activates feature to deactivate responsive images in single ALB elements
This adds new options to the “Performance” Toggle.
Can you check if this helps?
To functions.php:
add_theme_support( 'avia_show_alb_responsive_image_option' );
Best regards,
GünterHi,
if you check enfold\js\avia-snippet-lightbox.js line 21:
fixedContentPos: false, // allows scrolling when lightbox is open but also removes any jumping because of scrollbar removal
Changeing this to true will do it.
There was probably a reason why it was added.As far as I know there was no request up to now – so I would suggest to add a filter to activate this.
Edit:
added: filter ‘avf_default_lightbox_no_scroll’ – block default lightbox and body from scroll
return anything except false (e.g. true) in filter
Best regards,
Günter-
This reply was modified 2 years, 8 months ago by
Günter.
Hi,
Yes, this is the default implementation.
You can check in the post css files.
Create a page with e.g. textblock and set the font sizes. You will see “default” font is without media query and then come the responsive media queries for the font sizes.
Best regards,
GünterJune 24, 2022 at 11:02 am in reply to: Some thoughts on the new Parallax behavior features. #1356382Hey Guenter,
A first response:
The basic implementation for responsive in enfold is that you have a setting with no media query (description is desktop – no media query) either in css files or set in options and then media queries that override the desktop setting.
I think this is also a historical reason because responsive was added later.
Changing this will certainly break many sites.
But I agree – there is missing an option with a media query for large screens only (wider than 990px).
This would allow:
- set a custom default value for all sizes (and override theme setting)
- set a custom value for each of the 4 devices independently, if not set the custom default value for all sizes or theme default is used
I will think about it a little more.
This can also be used for font sizes and other responsive settings
Best regards,
GünterHi,
You are right. But maybe not obvoius at the first glance.
It’s only a few lines of code.Best regards,
GünterHi,
Thanks for providing the code.
I added it to core for 5.0.2.Replace enfold\framework\php\class-media.php:
I had to replace
$query->set('orderby', 'meta_value_num');
with
$query->set('orderby', 'ID');
and
remove $query->set('meta_key', 'post_attachments_id');
Best regards,
GünterHi,
Sorry for the late reply.
Blame me.
From debugging I forgot to remove a line:enfold\config-templatebuilder\avia-template-builder\php\class-svg-shapes.php line 539:
$id = 1958;
This overrules the set attachment id.
Please remove the line and it should work as expected because a few lines below:$file = get_attached_file( $id );
Best regards,
GünterHi Tim,
Please try to update enfold\config-woocommerce\config.php with the content of
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_5_0/config-woocommerce/config.php
This should now show responsive images or the “large” image (if theme option Responsive Images For Lightbox is disabled). You can change the default lightbox image size with filter avf_avia_builder_helper_lightbox_size.
If you set ratio to > 1 @2x is added.
If theme option Responsive Images For Lightbox is disabled I get “Image could not be loaded” (because I do not have such a file uploaded), with option enabled I get the correct image responsive image (without @2x).
Best regards,
GünterHi Tim,
Sorry for the late reply and thank you for reporting this.
At a first look you are using WooCommerce single product with a gallery.
Checking the underlying WC implementation we have not added responsive image support there for lightboxes.
Can you confirm that this problem is only with WC or do you also see it in other galleries/ALB elements with lightbox?
I’m on it for WC and added it to our dev repo.
Best regards,
GünterJune 9, 2022 at 9:13 am in reply to: Google Search Console error – Duplicate field “FAQPage” #1354601Hi,
Sorry for that.
A modified fix is integrated in the latest release 5.0 published yesterday.
Can you check with this version if the problem is fixed please.Best regards,
GünterJune 8, 2022 at 1:53 pm in reply to: Bug: New Typography tools clash with settings on the page #1354521Hi,
As a temporary fix you can put the following in theme options -> General Styling -> Quick CSS:
@media only screen and (max-width: 767px) { #top #wrap_all .av-inherit-size .av-special-heading-tag{ font-size: 0.8em !important; } }
This reverts back to 4.8.3 behaviour.
But it will override custom settings for mobile < 767px (or you can wait for the next release where I will add some logic to prevent this)
New Size options
Is added to our dev repo.Best regards,
GünterJune 8, 2022 at 11:51 am in reply to: Bug: New Typography tools clash with settings on the page #1354508Hi,
@thinkjarvis
Thank you for bringing this up.
I checked the font behaviour of the “Special Heading” element with 4.8.3 (a version prior the post css file changes).
Setting Heading Font Sizes – Font Size (Default) to e.g. 50px, responsive Font sizes to “Use default”.
The 50px are used for all devices (because added inline in a style tag).
There is a media query in heading.css:@media only screen and (max-width: 767px) { #top #wrap_all .av-inherit-size .av-special-heading-tag{ font-size: 0.8em; } }
And this is what I missed to implement when switching to post css file implementation.
And the only difference I can see.
Would adding this help you ?
And I’m also thinking about extending the selectable font sizes with flexible units also for responsive:
vw
em
remMaybe an option for pro users to replace the dropdown with input boxes ?
Best regards,
GünterHi,
For your information: Options will be added in 5.0 (or the following release) to select custom colors.
Best regards,
GünterJune 7, 2022 at 11:55 am in reply to: Button link within the tab section does not work properly #1354373 -
This reply was modified 2 years, 4 months ago by
-
AuthorPosts