Forum Replies Created

Viewing 30 posts - 301 through 330 (of 3,695 total)
  • Author
    Posts
  • in reply to: Responsive Images For Lightbox (currently in beta only) #1373854

    Hi,

    I do not think it is the length of the file but some code inside that breaks it.

    But glad it is working now.
    I will close this topic. You can open a new one whenever necessary.

    Have a great day.

    Best regards,
    Günter

    in reply to: Responsive Images For Lightbox (currently in beta only) #1373795

    Hey Guenter,

    Please have a look at https://enfold.inoplugs.com/a-lightbox-test/

    I used the following filter:

    https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/Images%20and%20Lightbox/avf_alb_lightbox_image_size.php

    and return ‘original’.

    As far as I see depending on screen width the largest image is loaded.

    By default it is ‘large’.

    Am I missing something.

    Best regards,
    Günter

    in reply to: Remove self from displaying in masonry/portfolio elements #1373396

    Hi,


    @Guenni007

    Your solution will not work in masonry entries with load more button and when the entry is queried with the load more by ajax.
    I’ve already a solution for that.

    For backwards compatibility I think we must have an option to activate it.

    And I will check other ALB elements to add it.

    Best regards,
    Günter

    in reply to: Remove self from displaying in masonry/portfolio elements #1373260

    Hey Tim,

    Thank you for this input. Makes sense.

    I added to our dev repo and will check if there is an easy way to implement this. I will keep you informed here – or check the changelog.

    Best regards,
    Günter

    in reply to: Clarification on upcumming 5.3 #1373195

    Hey Guenter,

    This can be done after update any time.

    Best regards,
    Günter

    in reply to: Custom fonts and CDN #1373041

    Hey Tim,

    Sorry for the late reply.

    I’m afraid there is no easy solution for that.

    Icon and type fonts are uploaded in a zip file and our logic unpacks these files and copies content to a directory on the local server and stores link information in database which is used to add it to the css.

    With upcoming version 5.3 we change the location where the unpacked files are stored (see https://kriesi.at/support/topic/enfold-upcoming-fixes/).

    Unfortunately, I don’t have any experience with CDN’s and how the URL’s are handled.

    But if you can copy the directories containing the unpacked files to your CDN location keeping the directory structure maybe it is possible to change the server source only ?

    Best regards,
    Günter

    in reply to: Remove Enfold Language Flags WPML #1372537

    Hey BlutVampir,

    Use

    
    Avia_WPML()
    

    to get the instance of the class for the handlers.

    e.g.:

    
    remove_filter( 'wp_nav_menu_items', [ Avia_WPML(), 'handler_append_lang_flags' ], 9998, 2 );
    

    Best regards,
    Günter

    in reply to: Feature Request: WooCommerce Additional Icons #1372530

    Hi,

    I added an option to add an account icon right before the search icon – or end of menu if no search icon.
    Will link to default WooCommerce account or login/register page.

    Hope this will help you.

    Best regards,
    Günter

    Hi,

    I added the following filter ‘avf_el_styling_responsive_styles_ignore’ for next release:

    
    			/**
    			 * Allow to ignore responsive styles handling on element basis and use for all screen sizes
    			 *
    			 * @since x.x.x
    			 * @param boolean $skip
    			 * @param array $atts
    			 * @param \aviaShortcodeTemplate|null $sc_context
    			 * @param string $id
    			 * @param string $container
    			 * @param aviaElementStyling $this
    			 * @return false|mixed						anything except false will only use default setting for
    			 */
    			if( false !== apply_filters( 'avf_el_styling_responsive_styles_ignore', false, $atts, $sc_context, $id, $container, $this ) )
    			{
    				$rule = isset( $this->callback_settings[ $id ]['styles'] ) ? $this->callback_settings[ $id ]['styles'] : array();
    
    				if( ! is_array( $rule ) || empty( $rule ) )
    				{
    					return $added;
    				}
    
    				$this->add_styles( $container, $rule );
    				$added++;
    
    				return $added;
    			}
    
    

    and also added the $this parameter to filter ‘avf_el_styling_responsive_styles_skip’.

    I hope this will help.

    We try our best to stay backwards compatible, but it is impossible for all possible cases.

    Best regards,
    Günter

    Hi,

    Thank you for reporting this problem – and very sorry for this.

    A added filter ‘avf_disable_grid_cells_responsive_padding’ to cell.php (lines 602+603) – similar to “avf_disable_columns_responsive_margin_padding”:

    
    				/**
    				 * Allow fallback to ignore responsive padding in case a page/site gets broken
    				 *
    				 * @since x.x.x
    				 * @param boolean $disable_responsive_padding
    				 * @param array $atts
    				 * @param array $result
    				 * @param aviaShortcodeTemplate $this
    				 * @return false|mixed						anything not false to fallback
    				 */
    				$disable_responsive_padding = apply_filters( 'avf_disable_grid_cells_responsive_padding', false, $atts, $result, $this );
    
    				if( false !== $disable_responsive_padding )
    				{
    					//	fallback
    					$element_styling->add_callback_styles( 'container', array( 'padding' ) );
    				}
    				else
    				{
    					$element_styling->add_responsive_styles( 'container-padding', 'padding', $atts, $this, '!important' );
    				}
    
    

    Will be in next release.

    These filters allow to add logic to have a fallback only for existing pages.

    Hope this will help you.

    Best regards,
    Günter

    in reply to: Shop Manager user role permissions. #1370646

    Hey Thomas,

    You can use the following filter:

    
    add_filter( 'avf_allow_drag_drop', 'custom_disable_alb_drag_drop', 100, 1 );
    

    This will hook after our filter in enfold\functions-enfold.php line 2227.

    in your function

    
    custom_disable_alb_drag_drop( $disable ) 
    {
    // add logic to decide what to do
    }
    

    return true to allow drag/drop or false to lock.

    Hope this helps you.

    Best regards,
    Günter

    in reply to: Menue Highlighting and IDs #1370540

    Hey Guenter,

    Sorry for the late reply.

    Can you give us a link to the page and to backend so we get a better understanding please.

    Best regards,
    Günter

    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, 1 month 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, 4 months ago by Günter.
Viewing 30 posts - 301 through 330 (of 3,695 total)