Forum Replies Created

Viewing 30 posts - 331 through 360 (of 3,713 total)
  • Author
    Posts
  • 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ünter

    Hey 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ünter

    in reply to: prev – next on testimonials on 5.2 #1369872

    Hi,

    Just to inform all users: Enfold 5.2.1 had been released and fixes the problem.


    @Guenni007

    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ünter

    in reply to: New feature : CSS File Merging And Compression #1369858

    Hi,

    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ünter

    in reply to: prev – next on testimonials on 5.2 #1369790

    Hi,

    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

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_5_2/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php

    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ünter

    in reply to: Google Maps Shortcode #1369788

    Hey 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ünter

    in reply to: New feature : CSS File Merging And Compression #1369787

    Hi,

    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ünter

    in reply to: latest version of LayerSlider #1369227

    Hey 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ünter

    in reply to: Little correction on "Column Behaviour When Fullwidth" ? #1368418

    Hi,

    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.
    in reply to: Little correction on "Column Behaviour When Fullwidth" ? #1368315

    Hi,

    see private content.

    Best regards,
    Günter

    in reply to: theme.json – A suggestion concerning colors #1368305

    Hi,

    Thanks for your feedback.

    Is added to next release:

    –enfold-font-family-theme-body
    –enfold-font-family-heading
    –enfold-font-family-body

    Best regards,
    Günter

    in reply to: Please contribute and translate Enfold #1368267

    Hi @EZWebdesign,

    Thanks a lot – already merged into core.

    Have a great day.

    Best regards,
    Günter

    in reply to: theme.json – A suggestion concerning colors #1368119

    Hi,

    Added to next release with

    –enfold-……

    for settings in “General Styling” tab.

    Best regards,
    Günter

    in reply to: theme.json – A suggestion concerning colors #1368058

    Hey 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ünter

    in reply to: Little correction on "Column Behaviour When Fullwidth" ? #1368056

    Hey 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ünter

    in reply to: selfhosted Font Loading via Custom Font Manager #1363371

    Hi Günter,

    I added a fix:

    Can you replace enfold\framework\php\font-management\class-avia-type-fonts.php

    with the contents of

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_5_1_1/framework/class-avia-type-fonts.php

    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ünter

    in reply to: Disable Srcset followup #1357290

    Hey 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ünter

    in reply to: Lightbox and background scroll #1356860

    Hi,

    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.
    in reply to: Some thoughts on the new Parallax behavior features. #1356413

    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ünter

    in reply to: Some thoughts on the new Parallax behavior features. #1356382

    Hey 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ünter

    in reply to: custom svg files as dividers #1356316

    Hi,

    You are right. But maybe not obvoius at the first glance.
    It’s only a few lines of code.

    Best regards,
    Günter

    in reply to: custom svg files as dividers #1356312

    Hi,

    Thanks for providing the code.
    I added it to core for 5.0.2.

    Replace enfold\framework\php\class-media.php:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_5_0_1/framework/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ünter

    in reply to: custom svg files as dividers #1356179

    Hi,

    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ünter

    in reply to: Responsive Images In Lightbox #1354959

    Hi 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.


    @guenni007

    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ünter

    in reply to: Responsive Images In Lightbox #1354850

    Hi 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ünter

    Hi,

    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ünter

    Hi,

    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ünter

    Hi,

    @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
    rem

    Maybe an option for pro users to replace the dropdown with input boxes ?

    Best regards,
    Günter

    in reply to: Progress bar preset color changing ? #1354416

    Hi,

    For your information: Options will be added in 5.0 (or the following release) to select custom colors.

    Best regards,
    Günter

    Hey!

    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ünter

Viewing 30 posts - 331 through 360 (of 3,713 total)