Forum Replies Created

Viewing 30 posts - 11,851 through 11,880 (of 67,434 total)
  • Author
    Posts
  • in reply to: Sliders/Galeries duplicated without doing anything #1338640

    Hi,

    Thank you for your understanding. Let us know in another thread if you have more questions.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: SVG Divider in the bottom of Woocommerce shop-page? #1338638

    Hey Brolle,

    Thank you for the inquiry.

    but I can’t find any way to put it on the side where my shop is.

    What do you mean by “side”? Please post the shop URL in the private field and provide us a screenshot of the section where you need to apply or place the divider. And FYI, you can create a custom shop page using the Advance Layout Builder. You need to add this code in the functions.php file.

    add_theme_support( 'avia_custom_shop_page' );
    

    For more info about the custom shop page, please check this documentation.

    // https://kriesi.at/documentation/enfold/woocommerce-shop/#custom-woocommerce-shop-overview-with-advanced-layout-editor

    Best regards,
    Ismael

    in reply to: Set image size for Blog Grid #1338637

    Hey spooniverse,

    Thank you for the inquiry.

    Yes, you can adjust the thumbnail size in the archive pages by editing the archive.php file directly or by using the avf_post_slider_args filter.

    add_filter("avf_post_slider_args", function($args, $context) {
            if( $content == "archive" ) {
    	   $args["preview_mode"] = "custom";
               $args["image_size"] = "full";
            }
    	return $args;
    }, 10, 1);
    

    These are the available thumbnail sizes.

    square
    featured
    featured_large
    portfolio
    portfolio_small
    gallery
    magazine
    masonry
    entry_without_sidebar
    entry_with_sidebar
    shop_thumbnail
    shop_catalog
    shop_single 
    shop_gallery_thumbnail
    

    Adding an image to category template is possible but it will require significant amount of modifications. If you want to check how it has been implemented for the product categories, look for the avia_woo_edit_category_fields and the avia_woo_add_category_fields functions in the enfold/config-woocommerce/admin-options.php file. The functions are attached to thse hooks.

    // https://developer.wordpress.org/reference/hooks/taxonomy_edit_form_fields/
    // https://developer.wordpress.org/reference/hooks/taxonomy_add_form_fields/

    The actual banner function is in the enfold/config-woocommerce/config.php file.

    Best regards,
    Ismael

    in reply to: Mobile sticky header #1338634

    Hi,

    Is it really difficult to add this option to the theme?

    Yes, it may sound simple but when you consider the multiple options that are available for the header and the combination of options that thousands of sites using Enfold have, adding this option could easily become more complicated. Unfortunately, this option will not be included in next patch yet. You will have to use css for now to make the header sticky on mobile view.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    According to the postslider.php file, the theme will automatically display all posts in the selected taxonomy when no category or term is selected. Unfortunately, the postslider element doesn’t handle cases where a category or a post doesn’t exists. To ensure that the post slider remains blank when there are no entries or categories, please add this code in the functions.php file.

    add_filter("avia_post_slide_query", function($query, $params) {
    	if(count($query["tax_query"]) == 0) {
    		$query["post_type"] = "category";
    	}
    
    	return $query;
    }, 10, 2);
    

    Best regards,
    Ismael

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

    Hi,

    Using the translation editor there is no way to select “Use ALB” like when editing a page directly.

    You should not use the ALB directly on translated pages. Always use the default translation editor to adjust the text of the existing elements in the original page. When editing a translated page, it will display ALB at first but will then redirect to the default translation editor. That is where you have to translate and adjust the content of the page.

    Please check this documentation for more info on how to properly translate pages using WPML.

    // https://kriesi.at/documentation/enfold/translation/
    // https://wpml.org/documentation/theme-compatibility/enfold/#:~:text=To%20do%20so%20you%20need,Enfold%20%E2%86%92%20Custom%20Elements%20panel.&text=In%20the%20Language%20box%2C%20click,to%20WPML's%20Advanced%20Translation%20Editor.

    Best regards,
    Ismael

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

    Hi,

    Thank you for the info.

    The post navigation is not displaying because the Enfold > Blog Layout > Deaktiviere die Beitrags-Navigation option is enabled. This option hides the post navigation, so we enabled it back. Please check the screenshot below.

    Best regards,
    Ismael

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

    Hi,

    Thank you for the info.

    The post navigation is not displaying because the Enfold > Blog Layout > Deaktiviere die Beitrags-Navigation option is enabled. This option hides the post navigation, so we enabled it back. Please check the screenshot below.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    This is why we warned you that the changes is not going to work as you would expect it to. The heading row is rendered right above the other rows in the document, so expect it to render before the other rows on mobile view. It will not automatically render right after every other row as you would expect it to, at least not without a custom script. And the reason why it doesn’t respond like the default table shortcode is because the script (avia-table.js) that is supposed to adjust table on mobile view will only load if there is actually a table element in the page.

    Another solution is to keep the default heading row hidden on mobile view and include the headers to the cells directly but you will have to repeat it for every cells. These headers can be set to only display on mobile view.

    Example:

    
    <tr>
    <td><span class="av-mobile-table-headers">Technische Daten</span> Schnittlänge</td>
    <td><span class="av-mobile-table-headers">KST-F</span> 40 x 30 mm</td>
    <td><span class="av-mobile-table-headers">KST-P</span> 40 x 30 mm</td>
    <td><span class="av-mobile-table-headers">KST-E</span> 40 x 30 mm</td>
    </tr>
    

    You can then add a css that will hide the av-mobile-table-headers span tag on desktop and display it on mobile view.

    Best regards,
    Ismael

    in reply to: Wrong post title when using shortcode #1338626

    Hey Kyle,

    Thank you for the inquiry.

    Are you editing the site? We are trying to make changes to the functions.php file, but we always get an error in the logoslider.php file, which we didn’t touch.

    Please try to edit the sc_post_title shortcode, look for the $post->ID and replace it with get_the_ID() or the avia_get_the_ID() function. Try to do the same with the other shortcodes.

    Best regards,
    Ismael

    in reply to: Format text in a Product grid #1338625

    Hey Brolle,

    Thank you for the inquiry.

    You can use this css code to adjust the style of the product title.

    .products .product h2, .products .product h3, .products .product h4, .products .product h5, .products .product h6, h2.woocommerce-loop-product__title {
        padding-top: 5px;
        font-size: 1em;
        line-height: 1.3em;
        font-weight: normal;
        margin: 0;
    }
    

    You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css. If it doesn’t work, please post the site URL in the private field so that we can inspect the product elements directly.

    Best regards,
    Ismael

    Hey rixi,

    Thank you for the inquiry.

    We could decrease the font size of the menu items and adjust the width of the logo on screens that are smaller than 1366px. Please add this code in the Quick CSS field or in the child theme’s style.css file.

    @media only screen and (max-width: 1366px) {
      #top #header .av-main-nav>li>a {
        font-size: 13px;
      }
    
      .logo img, .logo svg {
        max-height: 75px;
        top: 10px;
      }
    }
    

    Best regards,
    Ismael

    in reply to: Masonry Portfolie "Load more" Button don't work. #1338444

    Hi,

    Thank you for the info.

    We will include a fix in the upcoming patch. For now, please update the masonry_entries.php and the masonry_gallery.php files, which are located in the config-templatebuilder > aviashortcodes directory within their respective folders. Please check the files in private field.

    Best regards,
    Ismael

    in reply to: Best way to do responsive type? #1338440

    Hi,


    @Guenni007
    : Thanks for the info! :)

    Best regards,
    Ismael

    in reply to: Remove Extra White Space On Mobile #1338436

    Hi,

    Sure! Let us know if there is anything else that we can help you with. We will close this thread for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Add dropdown arrows on menu items #1338434

    Hi,

    No problem. Glad we could be of help! Please do not hesitate to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Make Mobile Menu Main Links Bold #1338433

    Hey navindesigns,

    Thank you for the inquiry.

    You can use this css code to adjust the font weight of the parent menu items.

    #av-burger-menu-ul > li > a {
        font-weight: 600;
    }
    

    Best regards,
    Ismael

    in reply to: Links in custom header not clicking #1338432

    Hi,

    Thanks for the update.

    Try to increase the z-index of the header widget with this css.

    #top #header #header_main .widget {
        position: absolute;
        right: 100px;
        top: -20px;
        z-index: 999;
    }
    

    The css rule above already exists, so all you need to do is add the z-index property. Let us know if that helps.

    Best regards,
    Ismael

    in reply to: Scroll postion one page mobile #1338429

    Hi,

    Thank you for the update.

    Looks like the offset is reset to 0 on mobile view. Please edit the js > avia.js file, look for this code around line 758 and remove it. You may need to temporarily disable the Enfold > Performance > File Compression
    settings after editing the file.

    if( isMobile )
    {
         fixedMainPadding = 0;
    }
    

    Best regards,
    Ismael

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

    Hi,

    No problem. Please let us know in a different thread if you need anything else. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Editor seems to be in safe mode on one page #1338421

    Hi,

    Thank you for the update.

    You cannot directly add form tags such as input, textarea or label elements to the advance layout builder because the element that contains the actual builder shortcodes is also a textarea element. Using these tags will break the advance layout builder. You will have to create a custom shortcode for the contact form and use that shortcode instead. Please check this documentation for more info.

    // https://codex.wordpress.org/Shortcode_API

    Example:

    // custom web salesforce contact form shortcode
    function avs_web_salesforce_cf_shortcode_cb( $atts ){
            $output = "something";
            $output .= "something";
            $output .= "the contact html here";
    	return $output;
    }
    add_shortcode( 'avs_web_salesforce_cf_shortcode', 'avs_web_salesforce_cf_shortcode_cb' );
    

    You can then use the shortcode in a code or text block element.

    [avs_web_salesforce_cf_shortcode]
    

    Best regards,
    Ismael

    in reply to: How to use reCaptcha2 Invisible on Contact Form #1338419

    Hey Anne,

    Thank you for the inquiry.

    You can use this code in the functions.php file to display the badge instead of the contact form message.

    add_theme_support( "avia_recaptcha_show_legal_information" );
    

    Please note that when you are using v3, you will also have to register v2 as a fallback. For more info about the contact form and the spam protection, please check this documentation.

    // https://kriesi.at/documentation/enfold/contact-form/#what-is-captcha

    Best regards,
    Ismael

    in reply to: Menu font color transparent glassy header #1338416

    Hey TrevorMF,

    Thank you for the inquiry.

    You can change the size of the menu items in the Enfold > Advanced Styling panel. Look for the Main Menu > Main Menu Links element in the dropdown.

    Best regards,
    Ismael

    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

Viewing 30 posts - 11,851 through 11,880 (of 67,434 total)