Forum Replies Created

Viewing 30 posts - 10,651 through 10,680 (of 66,229 total)
  • Author
    Posts
  • 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

    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

Viewing 30 posts - 10,651 through 10,680 (of 66,229 total)