Forum Replies Created

Viewing 30 posts - 13,831 through 13,860 (of 67,014 total)
  • Author
    Posts
  • in reply to: Hosting fonts with FTP #1308041

    Hey spooniverse,

    Thank you for the inquiry.

    The custom font manager is using the wp_upload_dir function by default to get the location of the uploads directory where the theme uploads and retrieves the font. The function returns an array containing information about the uplaods directory.

    // https://developer.wordpress.org/reference/functions/wp_upload_dir/

    You might be able to change the default directory by editing the upload location in the enfold/framework/php/font-management/class-avia-icon-fonts.php file around line 36.

    $upload = wp_upload_dir();
    

    Unfortunately, we haven’t tried or tested this before.

    Best regards,
    Ismael

    in reply to: Hiding/showing div(s) when checkbox(es) are selelcted #1308039

    Hey FlatText,

    Thank you for the inquiry.

    We edited the html and the javascript or jQuery script a bit, then add a few css code to hide the option initially.

    jQuery:

    $(".ywapo_input_container_checkbox").on("click", function() {
    	var checked = $(this).find("input").is(":checked");
    	var option = "." + $(this).find(".ywapo_option_label").text().toLowerCase();
    
    	if(checked) {
    		$(option).toggle();
    	} else {
    		$(option).css("display", "none");
    	}
    });
    

    HTML:

    
    -- checkboxes here --
    <div class="ywapo-option">
        <p class="breakfast">Breakfast</p>
        <p class="lunch">Lunch</p>
        <p class="dinner">Dinner</p>
    </div>
    

    CSS:

    .ywapo-option p {
        display: none;
    }
    

    We are not sure if this fiddle link is going to expire, so we added the changes above.

    // https://jsfiddle.net/zmy8xuf0/15/

    Best regards,
    Ismael

    in reply to: Do not print logo #1308038

    Hi,

    Thank you for the update.

    Adding the following css code helped remove the gap or the layer slide space above the actual content.

    .avia-layerslider.container_wrap {
        display: none;
    }

    Screenshot: https://postimg.cc/xXSQxgVS

    Best regards,
    Ismael

    Good morning there!

    We took screenshots of the site on Firefox and Microsoft Edge. The menu item is displaying properly on both browsers. Please check the screenshots below.

    Screenshot: https://postimg.cc/gallery/5zCXmfc

    We are not really sure why it is not displaying on your end.

    Best regards,
    Ismael

    in reply to: WooCommerce Checkout Page Layout #1308035

    Hi,

    Would you like to move the order details beside the checkout form? You can try this css code in the Quick CSS field.

    @media only screen and (min-width: 768px) {
      .woocommerce-checkout {
        display: flex;
        justify-content: space-between;
      }
    
      .woocommerce-checkout #customer_details {
        overflow: visible;
        flex: 1 1 60%;
        margin-right: 4%;
      }
    
      .woocommerce-checkout #order_review_heading {
        position: absolute;
        left: 64%;
      }
    
      .woocommerce-checkout #order_review {
        flex: 1 3 34%;
        top: 54px;
        position: inherit;
      }
    }
    

    Best regards,
    Ismael

    in reply to: woocommerce 2 column checkout #1308034

    Hi!

    Yes, that is possible. We wrapped the code inside a css media query so that it will only affect the desktop view. Please try it again.

    Cheers!
    Ismael

    in reply to: Enfold & CLS issue on main Div #1308033

    Hi,

    Did you actually try the css code? We cannot find it in the document. Applying a minimum height or specifying the height of the element manually should prevent the next elements from shifting, thus improving the CLS score. For desktop view, you can add this css code to define the height of the pricing row, which seems to be shifting a bit when the font swapped.

    li.avia-pricing-row {
        min-height: 83px;
    }
    

    Best regards,
    Ismael

    in reply to: Mobile Site Issues with responsiveness #1307963

    Hey Colferg,

    Thank you for the inquiry.

    You should edit the column containing the text blocks with right alignment and apply a unique class name or ID to it so that you can style it differently on mobile view.

    // https://kriesi.at/documentation/enfold/add-custom-css/#enable-custom-css-class-name-support

    You can use this css code to adjust the text alignment of the text block and remove the left margin of the column.

    
    @media only screen and (max-width: 767px) {
        .custom-css-name {
    	margin-left: 0 !important;
        }
    
        .custom-css-name .avia_textblock p {
    	text-align: center !important;
        }
    }
    

    Make sure to replace “custom-css-name” with the actual class name of the column.

    Best regards,
    Ismael

    in reply to: Error using the /blog URL #1307961

    Hey Colferg,

    Thank you for the inquiry.

    Would you mind posting the content of the .htaccess file? There might be a folder or directory in the root directory of your installation with the name “blog”. You should have your hosting provider check the directories or folders in your server, and have them rename or remove the folder.

    Best regards,
    Ismael

    in reply to: Portfolio grid hover like masonry grid hover #1307959

    Hey Marc,

    Thank you for the inquiry.

    You can try this css code to hide the grid content container initially and only display it on hover.

    .grid-content {
    	opacity: 0;
    	transition: all 0.5s;
    	position: absolute;
    	bottom: 0;
    	width: 100%;
    }
    
    .grid-entry:hover .grid-content {
    	opacity: 1;
    }

    Best regards,
    Ismael

    in reply to: Parallax effect with text over image #1307957

    Hey Sebastian,

    Thank you for the inquiry.

    Are you trying to limit the width of the background? Have you tried applying the background image or color to a 1/1 column element instead of applying it to the color section? Please provide a link to the page so that we could check it.

    Best regards,
    Ismael

    in reply to: Redundant title text within Icon Boxes #1307954

    Hey laptophobo,

    Thank you for the inquiry.

    You may need to modify the iconbox shortcode file directly. You will find the title attribute or markup around line 580:

    $linktitle = $title;
    
    				switch( $linkelement )
    				{
    					case 'both':
    						if( $title ) 
    						{
    							$title = "<a href='{$link}' title='" . esc_attr( $linktitle ) . "' $blank>$linktitle</a>";
    						}
    
    						$display_char_wrapper['start'] = "a href='{$link}' title='"  . esc_attr($linktitle) . "' {$blank}";
    						$display_char_wrapper['end'] = 'a';
    						break;
    					case 'only_icon':
    						$display_char_wrapper['start'] = "a href='{$link}' title='" . esc_attr($linktitle) . "' {$blank}";
    						$display_char_wrapper['end'] = 'a';
    						break;
    					default:
    						if( $title ) 
    						{
    							$title = "<a href='{$link}' title='" . esc_attr( $linktitle ) . "' {$blank} >$linktitle</a>";
    						}
    
    						$display_char_wrapper['start'] = 'div';
    						$display_char_wrapper['end'] = 'div';
    						break;
    				}
    

    Best regards,
    Ismael

    in reply to: importing font #1307949

    Hey Spiru_show1!

    Duplicate thread: https://kriesi.at/support/topic/importing-font-2/

    Cheers!
    Ismael

    in reply to: importing font #1307948

    Hey Spiru_show1,

    Thank you for the inquiry.

    Please make sure that PHP Zip Archive extension is enabled. For more info, please check the following thread.

    // https://kriesi.at/support/topic/adobe-fonts-in-enfold/#post-1305076

    Best regards,
    Ismael

    in reply to: Broken or missing icons #1307918

    Hey Pikatchu,

    Thank you for the inquiry.

    Did you enable the social icons from the Enfold > Header > Extra Elements panel? The scroll to top icon is not displaying because for some reason, the value of the data-av_icon attribute is missing. Did you modify any of the template files? Please toggle or disable the Enfold > Performance > File Compression settings, then disable the cache plugin temporarily.

    Best regards,
    Ismael

    in reply to: Error on editing pages #1307915

    Hey Iloivar,

    Thank you for the inquiry.

    Did you install the Classic Editor plugin? Please try to disable it and toggle or temporarily disable the Enfold > Performance > File Compression settings afterwards. Purge the cache before checking the editor again. You should also select your preferred editor in the Enfold > Theme Options > Select Your Editor settings.

    Best regards,
    Ismael

    in reply to: Magnific Popup takes you to top of page #1307913

    Hey laura1234,

    Thank you for the inquiry.

    You can try the solution that we posted in the following thread to prevent it from automatically scrolling to the top when lightbox is opened.

    // https://kriesi.at/support/topic/modal-pop-up-window-on-mobiles/#post-1292390

    Best regards,
    Ismael

    in reply to: Contact Form Thank You Text Size #1307912

    Hey jleclair87,

    Thank you for the inquiry.

    You can use this css to adjust the font size of the contact form response text.

    .avia_ajax_form .ajaxresponse {
       font-size: 2em;
       font-size: 32px;
    }
    

    Best regards,
    Ismael

    in reply to: Mobile device display order #1307911

    Hi,

    We cannot find the page with the 1/2 columns, so we created a draft page instead. We added a color section and applied a unique class name to it called “av-custom-column-order” so that we can differentiate it from other color sections. In the color section, we inserted three rows with two 1/2 column elements each. Then we added this css code in the Enfold > General Styling > Quick CSS field to reverse the order of columns in each row on mobile view

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      .av-custom-column-order .entry-content-wrapper {
        display: flex;
        direction: ltr;
        flex-direction: column;
      }
    
      .av-custom-column-order .av_one_half:nth-child(1) {
        order: 2;
      }
    
      .av-custom-column-order .av_one_half:nth-child(2) {
        order: 1;
      }
    
      .av-custom-column-order .av_one_half:nth-child(3) {
        order: 4;
      }
    
      .av-custom-column-order .av_one_half:nth-child(4) {
        order: 3;
      }
    
      .av-custom-column-order .av_one_half:nth-child(5) {
        order: 6;
      }
    
      .av-custom-column-order .av_one_half:nth-child(6) {
        order: 5;
      }
    }
    

    See private field for the draft page link.

    Best regards,
    Ismael

    in reply to: Tag archive #1307908

    Hey marcie73,

    Thank you for the inquiry.

    For the tag archive page, you can use this code in the functions.php file to replace div with h1.

    /**
    	 * Show an archive description on taxonomy archives.
    	 */
    	function woocommerce_taxonomy_archive_description() {
    		if ( is_product_taxonomy() && 0 === absint( get_query_var( 'paged' ) ) ) {
    			$term = get_queried_object();
    
    			if ( $term && ! empty( $term->description ) ) {
    				echo '<h1 class="term-description">' .  wp_kses_post( $term->description )  . '</h1>'; 
    			}
    		}
    	}
    

    And modify the hooks that we created previously. Try to replace it with:

    // ADD PRODUCT CATEGORY DESCRIPTION IN RIGHT PLACE
    add_action("after_setup_theme", function() {
    	if(is_product_category()) {
                 add_action( "woocommerce_before_shop_loop", "woocommerce_taxonomy_archive_description", 10 );
            }
    	add_action( "woocommerce_before_shop_loop", "woocommerce_before_shop_loop", 10 );
    }, 20);
    

    Best regards,
    Ismael

    in reply to: Use product category or single pages in menu #1307894

    Hi,

    Thank you for the update.

    Unfortunately, you cannot edit the archive pages using the advance layout builder. You will have to modify the template files directly in order to change the layout of the product category pages. For more info, please check the following documentation.

    // https://docs.woocommerce.com/document/template-structure/

    Best regards,
    Ismael

    in reply to: The icons don't show correctly in my website #1307892

    Hey langs24,

    Thank you for the inquiry.

    The icons are not displaying correctly because the site where it is loaded from or retrieved is different from the actual domain. Are you doing any redirection, or did you set WordPress to load from a different domain?

    You may need to set a CORS policy to allow fonts or resource from a different domain.

    // https://kriesi.at/documentation/enfold/icon/#icons-are-showing-as-rectangular-boxes-

    Best regards,
    Ismael

    in reply to: Masonry filter and load more button conflict #1307891

    Hey Marc,

    Thank you for the inquiry.

    We can use the avia_masonry_entries_query filter to adjust the query for the masonry element and increase the number of items or entries without having to adjust the element option or edit the files directly.

    Example:

    /** alter masonry query **/
    function avia_masonry_entries_query_mod( $query ) {
    	$query["posts_per_page"] = 200;
    	return $query;
    }
    
    add_filter("avia_masonry_entries_query", "avia_masonry_entries_query_mod");
    

    Please note that the filter above will affect every masonry element in the site, so adding conditional functions or logic to limit it to certain pages or a specific masonry element may be necessary.

    Best regards,
    Ismael

    in reply to: Tab Section problem, doesnt show full content #1307887

    Hi,

    Thank you for the info.

    The tab section works well with static content or content with definite height. It has issues with element that dynamically changes on user interaction such as the masonry element and iframes loading content from external sources. To fix the issue with the pagination or the load more button, you may need to add this script in the functions.php file.

    
    function ava_custom_script_tab_resize(){
    	?>
    	<script type="text/javascript">
            (function() {
               $('.av-masonry-load-more').on('click', function() {
                setTimeout( function() {
                    $(window).trigger('av-content-el-height-changed');
                }, 1000);
               });
            })();
    	</script>
    	<?php
    }
    add_action('wp_footer', 'ava_custom_script_tab_resize');
    

    And for the iframe issue, this might be needed.

     function ava_enqueue_custom_script_resize() {
        if ( wp_script_is( 'avia-default', 'registered' ) ) {
            wp_add_inline_script( 'avia-default', "(function($){	
                var int = window.setInterval(function(){
                    console.log('tick');
                    $(window).trigger('resize');
                    $(window).trigger('av-content-el-height-changed');
                }, 2000);
    
                $(window).on('load', function() {
                    setTimeout( function() {
                        clearInterval(int);
                    }, 1000 );  
                });
            })(jQuery);" );
        }
     }
     add_action( 'wp_enqueue_scripts', 'ava_enqueue_custom_script_resize', 9999);
    

    Best regards,
    Ismael

    in reply to: woocommerce 2 column checkout #1307883

    Hi,

    Thank you for the inquiry.

    You can use this css code to adjust the width of the checkout form and the order details.

    @media only screen and (min-width: 768px) {
      .woocommerce-checkout {
        display: flex;
        justify-content: space-between;
      }
    
      .woocommerce-checkout #customer_details {
        overflow: visible;
        flex: 1 1 60%;
        margin-right: 4%;
      }
    
      .woocommerce-checkout #order_review_heading {
        position: absolute;
        left: 64%;
      }
    
      .woocommerce-checkout #order_review {
        flex: 1 3 34%;
        top: 54px;
        position: inherit;
      }
    }

    Best regards,
    Ismael

    in reply to: Unique title and description on pagination pages! #1307881

    Hi,

    Thank you for the info.

    Would you mind posting the login details in the private field so that we could check the site properly? Please make sure that the Appearance > Editor panel is accessible.

    Best regards,
    Ismael

    Hey Annemarie,

    Thank you for the inquiry.

    that you could clean up the next time you’re working on the cookie window content

    What do you mean? Would you mind posting a screenshot of the issue so that we can understand it better? We checked the lines that you mentioned above but we did not find any unusual or missing markup.

    Best regards,
    Ismael

    in reply to: Linking Problem with Anchor in Menu #1307879

    Hi,

    @EFESQU: Updating the theme to the latest version (4.8.3) should help. If not, try to revert jQuery to an older version by using the following plugin.

    // https://wordpress.org/plugins/enable-jquery-migrate-helper/

    Best regards,
    Ismael

    in reply to: Overlapping of Logo and Menu #1307877

    Hey franziskaivens,

    Thank you for the inquiry.

    The menu is now set to an icon on both mobile and desktop view. Did you change the menu settings to prevent the menu from overlapping with the logo?

    Best regards,
    Ismael

    in reply to: Problem with Enfold theme, size of featured image #1307756

    Hey rmieniawski,

    Thank you for the inquiry.

    The size of the featured image on post with sidebar is set to 845x321px by default. You can adjust it directly in the functions.php file (line 195).

    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>845, 'height'=>321);	
    

    Or by using the following plugin.

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

    Best regards,
    Ismael

Viewing 30 posts - 13,831 through 13,860 (of 67,014 total)