Forum Replies Created

Viewing 30 posts - 12,031 through 12,060 (of 67,591 total)
  • Author
    Posts
  • in reply to: Best way to do responsive type? #1338391

    Hi,

    Looks like the default style for the caption is overriding the advanced styling. Please try to add this css code temporarily to adjust the title of the captions on mobile view.

    @media only screen and (max-width: 479px) {
        .responsive #top .slideshow_caption h2 {
            font-size: 70px !important;
        }
    }
    

    Best regards,
    Ismael

    in reply to: slider not being translated #1338390

    Hi,

    We created a test page in ES, translated it to the other languages, added the portfolio grid, and it worked properly. The grid on each language displays the appropriate portfolio items. We also created a test portfolio item and translated it as well, and you will see this as the very first item in the grid.

    Did you use the + buttons when you translated the home pages? Please check the screenshot below.

    // https://1drv.ms/u/s!AjjTfXSRbKTvwAbb7HGP-VejA_gm

    Yes, you could try and install the WPML plugin, but make sure to create a site backup or a restore point just in case you to revert back to the previous plugin. To properly translate the pages using WPML, please check the following documentation.

    // https://wpml.org/documentation/theme-compatibility/enfold/#getting-started
    // https://kriesi.at/documentation/enfold/translation/#how-to-translate-pages-built-with-enfold-using-wpml

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: Sidebar not showing up on WooCommerce category page #1338388

    Hi,

    Thanks for the update.

    The sidebar is now displaying properly in the category pages. We had to temporarily modify the avia_woocommerce_before_main_content function in config-woocommerce/config.php and adjusted the condition around line 911.

    if(is_singular() || is_product_category()) {
    
    		$result = 'sidebar_right';
    		$avia_config['layout']['current'] = $avia_config['layout'][$result];
    		$avia_config['layout']['current']['main'] = $result;
    
    }
    

    We added the is_product_category function to set the sidebar layout for the category pages. For some reason, this is working correctly on our end even without the modification, so we will have to investigate further.

    Best regards,
    Ismael

    in reply to: Add content to blog post element grid view #1338387

    Hi,

    Thank you for the update.

    You can incorporate the following functions in the filter to retrieve the taxonomy terms and the author info.

    // https://developer.wordpress.org/reference/functions/get_the_terms/
    // https://developer.wordpress.org/reference/functions/get_the_author/

    There are code examples in the documentation.

    Best regards,
    Ismael

    in reply to: Lazy Loading Question #1338386

    Hi,

    I never wanted to disable the Lazy Loading on the whole site. (I don’t know why you seem to think so)

    Yes, we understand that but since we cannot reproduce the issue on our end, it would help if we could test if disabling the default lazy loading option from WordPress will also disable the loading attribute in your Image block. If it doesn’t, then there is something else that is adding that attribute. Using a code block to add the image manually seems to be sufficient enough in this case.

    Let us know once the installation is updated to version 5.9.

    Best regards,
    Ismael

    in reply to: Loss of personalization in the second language site #1338385

    Hey Bruno,

    Thank you for the inquiry.

    1-2.) Yes, you can use line breaks or br tags in the copyright field. And since you are using WPML, make sure to switch to the other language and edit the copyright field there as well. Please note that each language has its own theme options.

    Best regards,
    Ismael

    in reply to: Force link to 'Open in Lightbox' in all EasySliders #1338382

    Hey davidchristensen,

    Thank you for the inquiry.

    This is possible but you will have to modify the themes/enfold/config-templatebuilder/avia-shortcodes/slideshow/slideshow.php directly and set a default value to the settings. Look for this code around line 781.

    	$c = array(
    						array(
    							'name' 	=> __( 'Apply a link to the slide?', 'avia_framework' ),
    							'desc' 	=> __( 'You can choose to apply the link to the whole image', 'avia_framework' ),
    							'id' 	=> 'link_apply',
    							'type' 	=> 'select',
    							'std' 	=> 'image',
    							'lockable'	=> true,
    							'required'	=> array( 'slide_type', 'is_empty_or', 'image' ),
    							'subtype'	=> array(
    												__( 'No Link for this slide', 'avia_framework' )	=> '',
    												__( 'Apply Link to Image', 'avia_framework' )		=> 'image'
    											)
    						),
    
    						array(
    							'type'			=> 'template',
    							'template_id'	=> 'linkpicker_toggle',
    							'name'			=> __( 'Image Link?', 'avia_framework' ),
    							'desc'			=> __( 'Where should the image link to?', 'avia_framework' ),
    							'std' 	=> 'lightbox',
    							'subtypes'		=> array( 'lightbox', 'manually', 'single', 'taxonomy' ),
    							'target_id'		=> 'link_target',
    							'lockable'		=> true,
    							'required'		=> array( 'link_apply', 'equals', 'image' ),
    							'no_toggle'		=> true
    						)
    
    				);
    

    We already modified the code, so it is a bit different compare to the actual code in your file. If you noticed, we set the std of the Apply a link to the slide? to image, and the std of the Image Link? settings to lightbox. Also, please note that this modification will affect newly added slideshows in the site.

    Best regards,
    Ismael

    in reply to: Masonry excerpts when deleted show text #1338379

    Hi,

    You are welcome! Please let us know if you need anything else. We will close this thread for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: old items color problem #1338378

    Hi,

    Are you referring to the links? Please edit the post, switch to the text mode in the editor so that you can see the html, then look for the links. The links are blue because of the inline style.

    <a style="color: #0000ff;" href="https://www.site.com/blog/che-cos-e-un-server-dedicato/">server dedicato</a>
    

    You should remove this part to change the color of the links.

    style="color: #0000ff;" 
    

    Best regards,
    Ismael

    in reply to: Blog masonry filter error? #1338361

    Hey Arend,

    Thank you for the inquiry.

    This is one of the limitations of the category sort. It cannot retrieve posts that are not currently available in the current page. Unfortunately, there is no available solution to this aside from disabling the pagination and displaying all posts in a single page.

    There is a plugin that has the same category sorting feature but even in their demo, the pagination is disabled. The category sort feature is only available on the pro or paid version of the plugin.

    // https://sample.contentviewspro.com/shuffle-filter/?utm_source=wordpress&utm_medium=plugin&utm_campaign=content-views

    Best regards,
    Ismael

    in reply to: Problem bei Portfolio-Einträgen #1338356

    Hi,

    Thanks for the info.

    Did you apply a filter or modification in the functions.php file for the post navigation? Please post the login details in the private field so that we can check it further. Make sure that the Appearance > Editor panel is accessible so that we could edit the files when necessary.

    Best regards,
    Ismael

    in reply to: Masonry Blog Meta Elements #1338355

    Hi,

    That should be possible but you will have to add the modification directly inside config-templatebuilder/avia-shortcode-helpers/class-avia-masonry.php file because there are no filters available for this area. You can insert the categories output within this block, located on line 574.

    $bg  = '<div class="av-masonry-outerimage-container">';
    					$bg .=		$img_before;
    					$bg .=		"<div class='av-masonry-image-container' {$img_style} {$outer_title} {$outer_alt}>";
    					$bg .=			$img_html;
    					$bg .=		'</div>';
    					$bg .= '</div>';
    

    Best regards,
    Ismael

    in reply to: Enfold + WPML | page layouts differ between languages #1338354

    Hi,

    Thank you for the inquiry.

    Looks like the FR version has been set to use the default editor instead of the Advance Layout Builder (ALB). Would you mind checking the FR page and make sure that it is using the ALB? If you are getting redirected to the default translation editor, you may need to delete the translated FR page, trash it, then translate the DE page again.

    Best regards,
    Ismael

    Hi,

    Thank you for the inquiry.

    Where can we check the issue? Please post the site URL in the private field. Did you set the blog and front page in the Enfold > Theme Options panel?

    And please update the theme to version 4.8.9 when you have the chance.

    Best regards,
    Ismael

    in reply to: Admin Ajax hits overwhelming Server? #1338350

    Hi,

    Thanks for the update.

    You can learn more about CET in this thread.

    // https://kriesi.at/documentation/enfold/custom-element-templates/

    The code above will just disable the dedicated css file for each post or page, which contains custom styles of the elements that are within that particular post. Disabling it will not have any negative impact to the site.

    Besides disabling css file generation, is there way to inline the css directly inside the html tag instead of creating multiple

    The theme generates a few inline style tags, to load fonts for example, but none of them should affect the site negatively. Majority of the css are loaded from an external file.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    Could there be a 3rd way to change styling?

    There is a custom css field in the Appearance > Customize panel. Anyway, we can just override the inline styling by editing the css in the Quick CSS field. Please look for this css code.

    .product-main-container {
        width: 56%;
        float: right;
        margin-left: 50px;
    }

    Add the !important rule to the width property or just replace the code with this.

    .product-main-container {
        width: 56% !important;
        float: right;
        margin-left: 50px;
    }
    

    Best regards,
    Ismael

    Hi,

    We modified the code in the functions.php file and adjusted the css a bit to move the sidebar to the left of the product gallery. This is the update code in the functions.php file.

    
    /* Move product sidebar */
    function ava_move_product_sidebar() {
    	remove_action( 'woocommerce_before_single_product_summary',  'avia_close_image_div', 20);
    	add_action( 'woocommerce_before_single_product_summary',  'avia_close_image_div_mod', 20);
    	add_action( 'woocommerce_before_single_product_summary', 'avia_open_image_div_mod', 1);
    	add_action( 'woocommerce_after_single_product_summary', 'avia_close_image_div_mod', 4);
    	add_action( 'woocommerce_after_single_product_summary', 'avia_add_sidebar', 25);
    }
    add_action('init','ava_move_product_sidebar', 50);
    
    function avia_open_image_div_mod() {
    	echo "<div class='product-main-container'>";
    }
    
    function avia_close_image_div_mod() {
    	echo "</div>";
    }
    
    function avia_add_sidebar() {
    	if(is_product()) {
    		$avia_config['currently_viewing'] = "shop_single";
    		get_sidebar();
    	}
    }

    And the css in the Quick CSS field.

    .product-main-container {
        width: 56%;
        float: right;
        margin-left: 50px;
    }
    
    .product-main-container::after {
    	content: '';
    	display: table;
    	clear: both;
    }
    
    .product-main-container .single-product-main-image, .product-main-container .single-product-summary  {
    	width: 100%;
    }
    
    #top #main .sidebar {
        border-left: 0;
        border-right-style: solid;
        border-right-width: 1px;
        margin-left: 0;
    }
    

    There is an inline style for the product-main-container element, which sets the width of the container to 80% but we cannot find it. Do you have any idea where this inline style is coming from?

    Best regards,
    Ismael

    in reply to: Redirect portfolio Page to Product Page #1338196

    Hey Jason,

    Thank you for the inquiry.

    There is no easy way to do this because the product URL is quite different compare to the portfolio item URL. One solution that we could think of is to add the product URL as a custom field of the portfolio item and modify the themes\enfold\config-templatebuilder\avia-shortcode-helpers\class-avia-masonry.php file to retrieve this custom field and use it as the link in place of the default one.

    The link of the masonry item is set around line 1097 of the mentioned file above.

    //set the html tags. depending on the link settings use either an a tag or a div tag
    				if( $set_link )
    				{
    					$lightbox_attr = Av_Responsive_Images()->html_attr_image_src( $this->loop[ $key ]['url'], false );
    					$this->loop[ $key ]['html_tags'] = array( 'a ' . $lightbox_attr . ' ' . $aria_label_href . $target, 'a' ); //opening and closing tag for the masonry container
    				}
    				else
    				{
    					$this->loop[ $key ]['html_tags'] = array( 'div', 'div' );
    				}
    

    Best regards,
    Ismael

    in reply to: Get Latest Video in YouTube Playlist #1338194

    Hey Julio,

    Thank you for the inquiry.

    You would have to pass the result to the Youtube Player API to dynamically load the video player using the data from the very last video.

    // https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player

    This is the structure of the resource.

    // https://developers.google.com/youtube/v3/docs/playlistItems#resource

    Unfortunately, this kind of modification is beyond the scope of support. You may need to hire a freelance developer or contact our partner, Codeable.

    // https://kriesi.at/contact/customization

    Best regards,
    Ismael

    in reply to: Woocommerce Bookings display calendar on click. #1338175

    Hi,

    Did you try the script above? It should create a date picker button below the room selection or dropdown. Please add the script in the functions.php file.

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: Admin Ajax hits overwhelming Server? #1338174

    Hey Hurricane,

    Thank you for the inquiry.

    Do they have any info as to what kind of admin AJAX requests are occurring during heavy loads? The theme creates AJAX requests but only a few of them are scheduled and they will not be triggered without some kind of user action first, so pointing to an “admin ajax hits” is a little bit vague. It is possible that the requests are generated by a plugin.

    Are you using a lot of Custom Element Templates (CET)?

    Please try to disable the Enfold > Performance > File Compression settings temporarily, then add this code in the functions.php file to prevent the creation of the post css files.

    /**
     * Filter to skip css file generation.
     * You can add logic to skip for certain pages/posts only.
     * 
     * @since 4.8.6.1
     * @param boolean $create
     * @return boolean					true | false or anything else to skip generation of css file
     */
    function custom_avf_post_css_create_file( $create )
    {
    	return false;
    }
    
    add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );
    

    Best regards,
    Ismael

    in reply to: Avia Mega Menu Full Width #1338173

    Hey stoneroad,

    Thank you for the inquiry.

    You can try this css code to make the mega menu container full width but the positioning might become a little off on certain screen sizes because the modification might affect the script that dynamically calculates the position of the mega menu container based on the location of the parent menu item and some other factors.

    #header .avia_mega_div {
        width: 100vw !important;
        margin-right: -28px !important;
    }
    

    Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.

    Best regards,
    Ismael

    in reply to: Woocommerce customer mail text missing #1338168

    Hi,

    That’s good to know. Please do not hesitate to open another thread if you encounter another issue or if you have any questions regarding the theme. We will close this thread for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Team Member Shortcode does not work anymore #1338166

    Hi,

    As I have said earlier, there are no mandatory attributes. The shortcodes should work fine with or without any of the attributes, at least in the case of the Team Member element. Please review my response above.

    About the uid, you should be able to convert the Javascript code above to PHP. You can also create your own code to generate a random string. Just make sure that to prepend the text “av-” in front of the generated characters. This function might help.

    // https://www.w3schools.com/php/func_string_md5.asp

    Best regards,
    Ismael

    in reply to: Column Mega Menu link #1338163

    Hey sitadi,

    Thank you for the inquiry.

    The column title in a mega menu container should not be clickable by default. We tried to access the site but login account above seems to be incorrect. Please check the info carefully.

    Best regards,
    Ismael

    in reply to: Scroll postion one page mobile #1338158

    Hi,

    Thank you for the info.

    The code is already added in the functions.php file when we checked and it adjusted the scroll position offset as expected. The header lands above the title now instead of covering it.

    Best regards,
    Ismael

    in reply to: Embedding Sub Navbar element on WooCommerce #1338154

    Hey Jason,

    Thank you for the inquiry.

    Where did you add the shortcode? Instead of adding the shortcode directly to a text editor, you can use template hooks to place the element wherever you want. To place the sub navigation above the product loop, try to use this hook.

    Best regards,
    Ismael

    in reply to: Lazy Loading Question #1338151

    Hi,

    Do you see the same behavior when you update WordPress to the latest version? We are currently using the latest version of WordPress, which is version 5.9 and the latest version of the theme. In this installation, the loading attribute is not automatically added to the Image block regardless of the lazy loading option in the theme. And yes, you can use the filter wp_lazy_loading_enabled to completely disable the lazy loading option as we have suggested previously.

    Screenshot: https://1drv.ms/u/s!AjjTfXSRbKTvwB3j46JJ1oaUPI3-

    Best regards,
    Ismael

    Hey togetherconcept,

    Thank you for the inquiry.

    This option is not available by default, unfortunately. You may need to directly modify the hotspot template, which is located in the config-templatebuilder > aviashortcode directory, or create a script that inserts additional element next to the hotspot container. Please a hire a freelance developer or contact our partner Codeable for additional assistance.

    // https://kriesi.at/contact/customization

    Best regards,
    Ismael

    in reply to: custom font not loading #1338145

    Hey satucker,

    Thank you for the inquiry.

    The font museomoderno doesn’t load because of a CORS issue. The font file is loaded through a URL, which is different compare to the actual site URL. Please update the site URL in the Settings > General panel and remove the “www” part, or add this code in the .htaccess file to enable cross origin sharing.

    <FilesMatch ".(ttf|otf|woff)$">
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
    </IfModule>
    </FilesMatch>

    IMPORTANT: Please make sure to create a site backup or a restore point before proceeding with any of the steps above.

    Best regards,
    Ismael

Viewing 30 posts - 12,031 through 12,060 (of 67,591 total)