Forum Replies Created
-
AuthorPosts
-
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 #1354373Hey!
For your information:
This problem is fixed in oncoming version 5.0.
You also have a new option “Deeplink String” (Advanced Tab -> Developer Settings) where you can define a custom lnk hash for the tab.
Cheers!
GünterJune 4, 2022 at 3:10 pm in reply to: Google Search Console error – Duplicate field “FAQPage” #1354150Hey Jannis95,
If you have a staging site can you try the following fix please:
In file enfold\config-templatebuilder\avia-shortcodes\toggles\toggles.php around line 1133 you find:
$markup_faq = ''; if( ! empty( $atts['faq_markup'] ) ) { $markup_faq = avia_markup_helper( array( 'context' => 'faq_section', 'echo' => false ) ); }
After this please add:
static $markup_count = 1; if( $markup_count > 1 ) { $markup_faq = ''; } $markup_count++;
If you need help please let us know and we can do it for you. Do not forget to make a backup of the original file for a fallback.
Let us know if it worked.
Best regards,
GünterJune 4, 2022 at 3:03 pm in reply to: How to overwrite the new class-avia-masonry.php using the child theme? #1354149Hi,
In addition to @Guenni007:
If you only modify class-avia-masonry.php you can copy the original file to “$template_url.’/shortcodes/'” and your copy will be loaded before the original file preventing loading this.
There is no need for a directory structure.
Only in case you need control which modified files in your child theme must be loaded before other files you can create a directory structure but must add this structure e.g.
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes_1/', $template_url.'/shortcodes_2/' ); return $paths; }
and then file inside shortcodes_1 are loaded before files in shortcodes_2.
Best regards,
GünterHi Roger,
@EZWebdesign – Thanks a lot for your work.Added to core. Have a great day.
Best regards,
GünterMay 24, 2022 at 4:34 pm in reply to: Division by zero for slideshow accordion without slides #1352784Hi,
Thanks for reporting this.
Fix will be included in Enfold 5.0.
If you need a temporary fix let us know and we can provide it.
Best regards,
GünterHey Ralf Schlieper,
Danke für Ihre Anfrage.
Unser Theme wird nur über Theme Forest vertrieben (https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990).
Eine deutsche Übersetzung ist integriert, wird aber nur von der Community gewartet und ist zur Zeit etwa 70%.
Von unserer Seite aus erfolgt keine aktive Übersetzung, aber mit dem kostenlosen plugin https://wordpress.org/plugins/loco-translate/ kann man dies leicht selber machen.
Einige user (z.B. Holland, Italien, Frankreich) stellen es dann zur Verfügung und wir integrieren es.
Es würde uns freuen, wenn Sie sich für Enfold entscheiden. Eine neue Verison 5.0 mit neuen Features ist in Arbeit.
https://kriesi.at/support/topic/enfold-upcoming-fixes/
Best regards,
GünterHi,
Here you can find a rough overview of upcoming releases:
https://kriesi.at/support/topic/enfold-upcoming-fixes/
Best regards,
GünterHi,
@THP StudioYes, we have it on our radar and have started adding support. Will be in one of the next releases.
Best regards,
GünterApril 25, 2022 at 1:57 pm in reply to: Icon Grid (Image Flip Box) broken after Enfold upgrade from ver. 4.8.7.1 to 4.9 #1349407Hi,
Thank you for reporting this – and very sorry for the problems.
Icon Grid problem should be solved – please check your staging site. Was caused by a wrong selector to apply the selected font size (resulted in a wrong padding).
Widget problem also solved for ALB Widget area.
Already added for next update 4.9.2.2 which is planned in the next days.
If you do not want to wait you can copy the 2 modified files (do not forget to make backups of the original files for a fallback):
enfold\config-templatebuilder\avia-shortcodes\icongrid\icongrid.php
enfold\config-templatebuilder\avia-shortcodes\widgetarea\widgetarea.phpAnd you need to save theme options to invalidate the post css files and clear server and browser cache.
Best regards,
GünterHey Arjan van Dongen,
Thank you for using Enfold.
You mean, that if you make changes to a theme option setting (e.g. General Styling -> Logo Area -> Primary color ) this change should be reflected in all other languages (no matter in what language you make the change).
We did not consider this up to now – but it makes sense. Though there are a few things to consider that need translation like pages, images.
I will add this to our dev repo.
Best regards,
GünterHi,
No idea why the script is reported as a security alert.
The only thing you can try is if you do not need the GDPR stuff to remove our script with the filter and enqueue your own or modify the core file and only use the code within
if( allow_continue )
Maybe there is an option to allow fonts.googleapis.com as a secure link ?
Best regards,
GünterHey mikestoltz,
Thank you for using Enfold.
Yes, it is part of Enfold and can be found in enfold\framework\php\class-style-generator.php function link_google_font() around line 763ff.
Script is used to load google fonts (with a prior GDPR check).
If you do not use Google fonts you can remove the script with filter ‘avf_output_google_webfonts_script’. Return false (or anything but not true).
If you need help with the filter let us know.
Best regards,
GünterApril 19, 2022 at 5:45 pm in reply to: Fatal error: Uncaught Error: Class 'avia_auto_toc' not found #1348842Hi,
Thanks for your feedback.
Glad we could help you. Enjoy the theme and have a great day.
Feel free to come back whenever you need assistance.
Best regards,
GünterApril 19, 2022 at 5:27 pm in reply to: Fatal error: Uncaught Error: Class 'avia_auto_toc' not found #1348835Hey TheBiZWeavers,
$toc = new avia_auto_toc;
replace with
$toc = new \aviaFramework\widgets\avia_auto_toc;
We added our widgets into namespace \aviaFramework\widgets\.
Best regards,
GünterHi,
Having a look in your backend:
PHP is very outdated with 5.6.40. You should upgrade to minimum 7.4.xx (or 8.0.xxx) – also for security reasons.
Enfold is also not up to date – we have 4.9.2.1 out since a few weeks.Also depending on your hoster it could be, that he is doing some caching. You should check this and if yes, maybe he can provide you a staging server without this caching for testing.
WPML has integrated the translation management in core lately (it was a seperate plugin before) – therefore they encourage to use “Translate” and not “Duplicate”.This also works very well with our Advanced Layout Builder.
We have fixed 2 minor WPML bugs in next Enfold 4.9.2.2 – so if update to 4.9.2.1 does not help we can give you a pre release of 4.9.2.2 to test.
Best regards,
GünterHi,
Thanks for your feedback.
Glad we could help you.
Enjoy the theme and have a great day.
Feel free to come back when you need further assistance.
Best regards,
GünterHi Tim,
I’ve not really digged into schema.org.
But having a look at https://schema.org/VideoObject and the examples at the bottom of the page the only idea I have would be to add a meta tag like:
<meta itemprop="contentUrl" content="link_to_video" />
right after the opening div of the video element.
Could you check if this helps please?
Best regards,
GünterHi,
Sorry for the problems.
This seems to be very much related to WPML.
As a first step open a support ticket at WPML.
We have made a few changes with the compatibility team recently. It might be necessary to update to the latest theme version 4.9.2.1 (or they will update you to a later version that contains the fixes but is not released yet).
If WPML support cannot help, please send us the link to your support ticket and we will get in touch with head of compatibility team.
Best regards,
Günter -
AuthorPosts