Forum Replies Created

Viewing 30 posts - 18,181 through 18,210 (of 67,597 total)
  • Author
    Posts
  • in reply to: Customizing Blog Layout and adding custom fields #1225794

    Hi,

    Thank you for the update.

    Looks like the blog posts element is set to grid layout. If it is, the blog posts are rendered through the postslider.php file located in the enfold\config-templatebuilder\avia-shortcodes\postslider folder. You can add your own modifications inside the html function of the avia_sc_postslider class. And if you want to do it in the child theme, please check the documentation below.

    // https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb

    Best regards,
    Ismael

    in reply to: Mouseover Effekt bei Bildern #1225791

    Hi,

    You’re very welcome! Please feel free to open a new thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    Hi,

    Thanks for chiming in. For now, you have to use the default Woocommerce gallery to make the variation image switch work. It doesn’t work on the Enfold product gallery because the markup is not the same as the default gallery. If you have other concerns, please don’t hesitate to open a new thread.

    Best regards,
    Ismael

    in reply to: Advanced Layout Builder not working with WP 5.4.1 #1225787

    Hi,

    Sorry for the troubles. The icons are not displaying properly because the entypo-fontello.woff file is not available or is not loading properly.

    Did you set the nginx server to allow font files? This location directive should be added in the nginx.conf file inside the server context.

        location ~* \.(?:eot|woff|woff2|ttf|svg|otf) {
            access_log        off;
            log_not_found     off;
    
            expires           5m;
            add_header        Cache-Control "public";
    
            # allow CORS requests
            add_header        Access-Control-Allow-Origin *;
        }
    
    

    Best regards,
    Ismael

    in reply to: (IPad OS) images blurry with wrong stretch/resolution #1225784

    Hi,

    Thank you for that info.

    Fixed background images are not fully supported on iOS devices and they usually cause issues when the background size property is set to “cover”. To fix the issue on iPad Pro device, we have to disable the fixed effect and set it to default or “scroll”.

    @media only screen and (max-width: 1366px) {
        .flex_cell {
    	background-attachment: scroll !important;
        }
    }

    Please disable or toggle the Performance > File Compression settings after adding the code.

    Firefox does not appear to support the local value when applied on a textarea element.
    Chrome has an issue that occurs when using the will-change property on a selector which also has background-attachment: fixed defined. It causes the image to get cut off and gain whitespace around it.
    iOS has an issue preventing background-attachment: fixed from being used with background-size: cover – see details

    // https://caniuse.com/#feat=background-attachment

    Best regards,
    Ismael

    in reply to: Retina ready or not ready? #1225782

    Hi,


    @rockdesignnet
    : The masonry element uses a specific thumbnail which is also named “masonry”. The maximum width and height of this thumbnail is set to 705px, but it can be adjusted manually by doing the same steps that we provided previously, but with a different plugin.

    You have to adjust the size of the Large size thumbnail in the Settings > Media panel. It is currently set to 1030x1030px. After the adjustment, try to upload the images again or use the following plugin to regenerate the thumbnails.

    You have to install the Simple Image Sizes plugin, adjust the size of the “masonry” thumbnail in the Settings > Media panel, then regenerate the thumbnails or upload the images again.

    // https://wordpress.org/plugins/simple-image-sizes/

    Best regards,
    Ismael

    Hey!

    I was informed that the patch was already added in the theme and a filter is also available if you need to modify it. The filter is called avf_alb_options_select_hierarchical_post_type_id, and the patch is inside the wp-content\themes\enfold\config-wpml\config.php file.

    /**
    		 * Fixes problem with links to posts/pages in ALB elements in modal popup in backend (reported and provided by WPML comp. team)
    		 * 
    		 * @since 4.5.7.2
    		 * @param int $selected_id
    		 * @param string $object_type			'page' | 'post' | 'category' | ......
    		 * @param array $option_selected
    		 * @param array $element
    		 * @return int
    		 */
    		function avia_wpml_alb_options_select_hierarchical_post_type_id( $selected_id, $object_type, array $option_selected, array $element )
    		{
    			$selected_id = apply_filters( 'wpml_object_id', $selected_id, $option_selected[0], true ); 
    			return $selected_id;
    		}
    		
    		add_filter( 'avf_alb_options_select_hierarchical_post_type_id', 'avia_wpml_alb_options_select_hierarchical_post_type_id', 10, 4 );
    

    Best regards,
    Ismael

    in reply to: Social icon in mobile menu #1225778

    Hi,

    Did you enable the social icons from the Header > Extra Elements > Header Social Icons settings? The icons should be available in the page so that the script can move them inside the mobile menu. We tried to login to the site but the previous account is not valid.

    Best regards,
    Ismael

    Hi,

    Sorry for the troubles. The sub menu is already set to respond on hover, focus or mouseenter events but what’s not available is the use of keyboard arrows to navigate back or to the previous and next items. You can still Tab through the navigation or links within the page. Adding this css code should add an indicator that a menu item is active.

    .av-main-nav > li > a:focus, .av-main-nav > li > a:hover {
    	text-decoration: underline;
    }
    

    The Ubermenu plugin has a specific documentation for Enfold. Please check the following documentation.

    // https://sevenspark.com/docs/ubermenu-enfold

    Best regards,
    Ismael

    in reply to: Add category to blog post grid (display order) #1225457

    Hi,

    Sorry for the late response. You might have to modify the config-templatebuilder\avia-shortcodes\postslider\postslider.php file in order to move the category above the title. Look for this code around line 842:

    	$output .=  "<{$heading} class='slide-entry-title entry-title {$css}' $markup><a href='{$link}' title='" . esc_attr( strip_tags( $title ) ) . "'>{$title}</a></{$heading}>";
    
    						//	modern business style
    					if( ( strpos( $new_blogstyle, 'modern-blog' ) !== false ) && ( $new_blogstyle != '' ) ) 
    					{
    						$output .= $meta_out;
    					}
    

    Move $metaout above the the $title.

    Best regards,
    Ismael

    in reply to: Image overlay on blog post grid layout images #1225454

    Hi,

    Sorry for the delay. The grid layout doesn’t look like that by default. Are you using the masonry element? If you are, try this css code in the Quick CSS field or the style.css file.

    .av-masonry-entry .avia-arrow {
        background: #fff;
        top: -5px;
        border: none;
    }

    If you want to adjust the size of the arrow a bit, use this:

    .avia-arrow {
        height: 10px;
        width: 10px;
        position: absolute;
        top: -6px;
        left: 50%;
        margin-left: -5px;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        border-width: 1px;
        border-style: solid;
        visibility: hidden\9;
    }

    Alter the width and height property.

    Best regards,
    Ismael

    Hey forgottensky,

    Thank you for the inquiry.

    We are not really sure how the borlabs content block works but you can add an overlay above the portfolio item using a filter. Maybe you can create a script that removes the overlay when the user opt in to play the video or click the button in the overlay.

    You can add this in the functions.php file:

    add_filter('avf_portfolio_custom_overlay', function($overlay, $entry) {
    	$id = $entry->ID;
    	$custom_link = get_post_meta( $id, '_portfolio_custom_link', true ) != '' ? get_post_meta( $id, '_portfolio_custom_link_url', true ) : false;
    	if($custom_link) {
    		$overlay .= "<div class='grid-entry-privacy-overlay'><span>You shall not pass!<span></div>";
    	}
    	return $overlay;
    }, 10, 2);
    
    

    .. then use this css code to style the overlay a bit:

    
    .grid-entry-privacy-overlay {
        display: table;
    	position: absolute;
    	text-align: center;
    	width: 100%;
    	height: 100%;
    	background: rgba(0,0,0,0.3);
    }
    
    .grid-entry-privacy-overlay span {
    	display: table-cell;
    	vertical-align: middle;
    	color: #ffffff;
    	font-size: 2em;
    }
    

    You can also try and add the borlabs shortcode as the output of the overlay filter.

    Best regards,
    Ismael

    in reply to: Breadcrump navigation on bbpress forum pages #1225450

    Hi,

    Sorry for the delay. The breadcrumb is now displaying properly in the forum pages. We modified the snippet in the functions.php file a bit.

    //show bbpress forum breadcrumbs
    add_action('after_setup_theme', function() {
    	 remove_filter('bbp_get_breadcrumb','avia_fetch_bb_trail',10,3);
    }, 9999);

    Best regards,
    Ismael

    in reply to: Advanced Layout Builder not working with WP 5.4.1 #1225446

    Hi,

    We are not yet sure why the icons are not displaying, but we found an error in the console which might be related to the issue.

    This is the error:

    Uncaught SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
    onload <a href="https://d335luupugsy2.cloudfront.net/js/chat_button/stable/chat_button.min.js?uniq=0.2695216924159266:1" rel="nofollow">https://d335luupugsy2.cloudfront.net/js/chat_button/stable/chat_button.min.js?uniq=0.2695216924159266:1</a>
    

    Do you have any idea where it’s from, or how it’s loaded?

    Best regards,
    Ismael

    in reply to: How to deregister enfold scripts in a specific page #1225443

    Hi,

    Thank you for the inquiry.

    Have you tried setting the Enfold > Performance > Disabling of template builder elements to the second option (Load only used elements)? How do you load the builder or enfold elements in the custom template?

    You can find most of the scripts and their name in the functions.php, inside the avia_register_frontend_scripts function.

    Best regards,
    Ismael

    in reply to: (IPad OS) images blurry with wrong stretch/resolution #1225440

    Hi,

    What do you mean by “request mobile version”? Do you mean Chrome’s device toolbar?

    This is how we see the site on Chrome’s iPad Pro emulation.

    Screenshot: https://imgur.com/fu5C532

    Best regards,
    Ismael

    in reply to: XML Sitemap error with basic child theme #1225438

    Hey TimesDigital,

    Thank you for the inquiry.

    We are not really sure what’s causing that error. Have you tried disabling the other plugins temporarily?

    Best regards,
    Ismael

    in reply to: Centered submenus #1225437

    Hi,

    The sub menu looks exactly like the screenshot now, so we are not really sure which element you’re trying to center here.

    You should be able to center align an element relative to the parent container using the transform property.

    
    .parent{
      position: relative;
    }
    .child{
      position: relative;
      left: 50%;
      transform: translateY(-50%);
    }

    Best regards,
    Ismael

    in reply to: Gutenberg #1225435

    Hi,

    Thank you for the update.

    You can try this css code to limit the width of the content inside the entry-content container and exempt the blocks with the fullscreen class name or keep them fullwidth.

    .entry-content > * {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .entry-content > .fullscreen {
        max-width: none;
    }

    Best regards,
    Ismael

    in reply to: Linking to an open tab #1225309

    Hi,

    The script above only triggers the corresponding tab section title based on the tabsort parameter. You can’t append the anchor in the link or expect to go to a nested content within the tab section. If you want the page to automatically scroll to the tab section, try to use the scrollTo function in the script.

     	$([document.documentElement, document.body]).animate({
    						scrollTop: $("#av-tab-section-1").offset().top
    					}, 1000);
    

    Replace #av-tab-section-1 with the id the grid row element. Or try to replace the previous code with this:

    
    add_action('wp_footer', function() {
    	?>
    	<script>
    		(function($){
                function getQueryParams(qs) {
    			    qs = qs.split("+").join(" ");
    			    var params = {},
    			        tokens,
    			        re = /[?&]?([^=]+)=([^&]*)/g;
    
    			    while (tokens = re.exec(qs)) {
    			        params[decodeURIComponent(tokens[1])]
    			            = decodeURIComponent(tokens[2]);
    			    }
    
    			    return params;
    			}
    
                $(document).ready(function() {
    				var $_GET = getQueryParams(document.location.search);
    
    				if($_GET['tabsort']) {
    					$("a[data-av-tab-section-title='" + $_GET['tabsort'] + "']").click(function() {
    						this.click();
    					}).click();
    
    					$([document.documentElement, document.body]).animate({
    						scrollTop: $("#av-tab-section-1").offset().top
    					}, 1000);
    				}
                });
            })(jQuery);
    	</script>
    	<?php
    }, 9999);

    The link to the page containing the tab section should look something like this:

    http://site.com/sample-page/?tabsort=3
    

    … without the anchor.

    Best regards,
    Ismael

    in reply to: Optimizing images: Should I use more than 1 version? #1225303

    Hi,

    The srcset option has been put on hold for other priorities, but rest assured that you will still be able to fully optimize the site without it. Please check this article for more info.

    // https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow

    As we’ve said earlier, the srcset feature has been put on hold and unfortunately, we are not sure if and when it will be resumed. We’ll tag Kriesi and one of our developers to check the thread.

    Best regards,
    Ismael

    in reply to: Content slider limit autorotation to one loop #1225285

    Hi,

    You’re welcome! We’ll close the thread now, but please don’t hesitate to open another if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Mouseover Effekt bei Bildern #1225284

    Hi,

    Thank you for the update.

    We adjusted the code in the functions.php file a bit. It should work properly now.

    Best regards,
    Ismael

    in reply to: Woocoommerce Product Sorting Override #1225283

    Hi,

    How did you create the “Regal aufbauen” and “Regal abbauen” services? We are having a bit of difficulty navigating the site because of the language.

    We went through the filters and actions included in the theme, but we can’t find anything that sorts the taxonomy terms. In which taxonomy do the services “Regal aufbauen” and “Regal abbauen” belong?

    Best regards,
    Ismael

    Hi,

    We are not really sure why it loads that image last but the whole page loads under 1.9s according to the testing tool, so I don’t think anyone would notice. We also checked the page directly and the main image was immediately visible even before the page finished loading. We are not able to check it thoroughly because devtools are disabled.

    Best regards,
    Ismael

    in reply to: The content does not load correctly #1225260

    Hi,

    Thank you for the update. We have now added the script at the very bottom of the functions.php file. The items in the masonry element are now shifting properly while the page or images are loading. Please don’t forget to remove the cache prior to checking the page.

    Best regards,
    Ismael

    Hi,

    Sorry for the troubles. We tried logging in again to the site but the account above is no longer valid. Did you remove it?

    And you seem to be ignoring our notes regarding interchangeably using the builder and the default editor. You can’t switch between these two editors, it just doesn’t work that way in the theme. And we are not sure why you have to copy the shortcode in the text editor when you can add a completely new accordion element using the builder.

    Can you post the shortcode that you’re trying to copy and its contents? It’s possible that there are open html tags inside that shortcode or characters that’s breaking the layout of the builder. Please post the shortcode on pastebin.com.

    Best regards,
    Ismael

    in reply to: Set size on gridrow #1225251

    Hi,

    We missed the margin from the video element. Try this css code.

    .flex_cell .avia-video {
    	margin-bottom: 0;
    }

    You might have to remove the minimum height of the grid row cells to get rid of the spaces on smaller screens.

    Best regards,
    Ismael

    in reply to: Retina ready or not ready? #1225249

    Hi,

    @mistercuppix: The camp2400 image is now displaying or opening the original version of the image. Please check the private field.


    @rockdesignnet
    : You have to adjust the size of the Large size thumbnail in the Settings > Media panel. It is currently set to 1030x1030px. After the adjustment, try to upload the images again or use the following plugin to regenerate the thumbnails.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    in reply to: 404 ändern #1225246

    Hi,

    The “Redirect to selected page” uses the wp_redirect function while the other returns a query containing the id of the 404 page and the corresponding 404 template. Functions can be found in the themes\enfold\includes\class-avia-custom-pages.php file.

    Best regards,
    Ismael

Viewing 30 posts - 18,181 through 18,210 (of 67,597 total)