Forum Replies Created

Viewing 30 posts - 17,851 through 17,880 (of 67,463 total)
  • Author
    Posts
  • in reply to: Tab section auto adjust problem #1230586

    Hey kwlodar,

    Thank you for the update.

    We might be able to force the tab section to resize after clicking on the next or previous button in the forms, but we have to access the site first and check it further. The script might look something like this:

    (function($) {
        $('.bookly-box button').on('click', function() {
           var tab = $(this).parents('.av-layout-tab');
            var id = tab.data('av-tab-section-content');
    
            $('.av-section-tab-title[data-av-tab-section-title="' + id + '"]').trigger('click');
        })
    })(jQuery);

    Best regards,
    Ismael

    in reply to: Mobile view table bug #1230584

    Hey Mike2482,

    Thank you for the inquiry.

    The only workaround is to make the description column to a standard column.

    The theme contains a script that automatically prepends the description on every first item of the columns or sections on mobile view, because as the name says it is used to describe the content of that particular column. If that is not your intention, then you have to use the default column.

    Another solution is to make the table scrollable by setting the Advanced > Responsive Styling to the second option.

    Best regards,
    Ismael

    in reply to: Order posts within a category by alphabet #1230577

    Hey tichie,

    Thank you for the inquiry.

    Yes, the code above should still work — it will sort the posts based on their title. You could add it in the child theme’s functions.php file, but if there is no child theme yet, try to use this plugin.

    // https://wordpress.org/plugins/insert-headers-and-footers/

    Best regards,
    Ismael

    in reply to: H1 in layerslider #1230573

    Hi,

    Glad that you’ve found a solution.

    If you want to target the main container of the layer slider, the theme automatically applies a unique ID to it. This is the markup of the layer slider container.

    
    <div id="layer_slider_1" class="avia-layerslider main_color avia-shadow  avia-builder-el-0  el_before_av_section  avia-builder-el-first  container_wrap fullsize ls-direction-fix ls-overflow-visible" style="height: auto;"></div>
    

    The ID is #layer_slider_1.

    If you want to target a slider on a specific page, just prepend the page ID selector like so:

    .page-id-22 #layer_slider_1 {
       /* style here */
    }

    .. where 22 is the page ID.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    so why when editing the page I see that long long slug?

    By default, WordPress sets the default permalink or URL of the page or post based on its title. It doesn’t matter if the page is set as front or home page. If you want to change the URL, you have to edit it manually.

    // https://www.wpbeginner.com/wp-tutorials/how-to-create-custom-permalinks-in-wordpress/#change-page-permalink

    Best regards,
    Ismael

    in reply to: can't translate the page content with WPML #1230568

    Hi,

    Thank you for the inquiry.

    We are having a bit of difficulty navigating the site and the WPML settings because of the language. Can we set the default language to EN temporarily? Is this a staging site?

    Did you set the Translation Management > Multilingual Content Setup to “Use the translation editor” by default?

    // https://www.youtube.com/watch?time_continue=31&v=fHwjObRRhN0&feature=emb_logo

    Best regards,
    Ismael

    in reply to: Up Sells, Cross Sells and Related Products #1230559

    Hey Dameon,

    Thank you for the inquiry.

    The items in the cross-sell field will only display in the cart page and the related products are fetch randomly based on the categories or tags of the current product. Please check the following documentation for more info.

    // https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/

    Cross-sells are products that you promote in the cart, based on the current product.

    Best regards,
    Ismael

    in reply to: Search – number of displayed results #1230277

    Hi,

    Sorry for the delay. We get a 500 internal server error whenever we try to search for posts. Did you modify the funtions-enfold.php file before? This file contains the AJAX search function (avia_ajax_search). We also tried to implement the Relevanssi function but it’s still not working.

    Please post the FTP details in the private field so that we can check the issue further.

    Best regards,
    Ismael

    in reply to: Contact Form by Enfold | Emails are not received #1230272

    Hey Black_Box1996,

    Thank you for the inquiry.

    Is it working correctly when the cache and compression plugins are disabled? Unfortunately, it’s not possible to restore any of the previous email messages unless an email logging plugin is already installed prior to sending those emails.

    // https://wordpress.org/plugins/wp-mail-logging/
    // https://wordpress.org/plugins/email-log/

    Best regards,
    Ismael

    in reply to: Video controls don't show up on full width slider #1230269

    Hey!

    Sorry for the delay. Did you set the video slide’s Styling > Video Display settings to the second option (stretch)? The controls are not visible when this option is enabled because as it says the theme has to stretch the video in order to cover the whole slider container and to keep any black bars from displaying. This also moves the controllers outside the slider container. Unfortunately, it’s not possible to adjust the style of the controls..

    If you really need the controls to display, you have to set the Styling > Video Display to the first option.

    Best regards,
    Ismael

    in reply to: Title on bbpress forum threads #1230266

    Hey P3T3R_0ne,

    Thank you for the inquiry.

    In order to keep the design or layout of the pages consistent including the forums, the theme overrides the default forum templates. If you want to add the title to the topic or forum pages, we have to modify the includes > loop-pages.php file. You can add the title inside the header container.

      echo '<header class="entry-content-header">';
    

    Start with this code.

      if(bbp_is_single_topic()) {
               bbp_topic_title();
       }
    
       if(bbp_is_single_forum()) {
              bbp_forum_title();
       }
    
    

    The snippet above will only return the title without any styling. If you want to style it, try to wrap it in some html tags.

    Best regards,
    Ismael

    Hey Rob,

    Sorry for the delay. We are a bit confused about the question. What do you mean exactly by “content of a shortcode” and which “shortcode attributes”?

    In the template-builder.php file, there is a filter called “avia_builder_precompile”. Maybe you can use the filter to get the builder content or shortcodes and do your modifications before returning it to the template.

    Best regards,
    Ismael

    in reply to: Put a thing on top #1230212

    Hey claudioaddobbatim2r2,

    Thank you for the update.

    Try to increase the z-index property or the stack order of the links.

    .menu.av-main-nav li a{
        background:transparent!important;
        z-index: 10000;
    }

    If the compression settings are enabled, please disable it temporarily prior to checking the page.

    Best regards,
    Ismael

    Hi,

    Sorry for the delay. Background videos are disabled on mobile devices by default, which is why you’re only seeing an empty box. In place of that box, you can apply a fall back image. Please edit the color section, then go to the Styling tab and select a fall back image in the background section. However, if you really need to display videos on mobile view, you have to use the Video element instead. You can make it so that the color section is hidden on mobile devices and only display the Video element. Just toggle the visibility of the elements in the Screen Options tab.

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: Blog post grid layout how add after data field tag ? #1230199

    Hi marcobe!

    Thank you for the inquiry.

    We have to modify the enfold\config-templatebuilder\avia-shortcodes\postslider\postslider.php file and use the get_the_tags function to fetch the tags. Look for this code around line 866:

    $meta .= "<time class='slide-meta-time updated' $markup>" . get_the_time( get_option( 'date_format' ), $the_id ) . '</time>';
    

    Below you can use this function.

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

    
    $tags = "";
    $posttags = get_the_tags($the_id);
    if ($posttags) {
      foreach($posttags as $tag) {
        $tags .= $tag->name . ', '; 
      }
    
      $meta .= $tags;
    }

    Cheers!
    Ismael

    Hi,

    Thank you for the inquiry.

    Looks like the slider triggers a “avia-transition-done” after every slider item fade or slides in. Maybe we can add a listener for that event and do the side effects after the transition.

    $('.avia-slideshow:not(.av_fullscreen)').on("avia-transition-done", function() {
       // do something after slider transition
    });
    

    Best regards,
    Ismael

    in reply to: Read more in masonry grid #1230190

    Hi,

    this works, but on page load all the post are vertically stick to each other.

    Sorry for the delay. We can’t reproduce the issue on our end. Is it still happening on yours? Looks like you have already added the read more links to the masonry items.

    To force the masonry item to reposition while the page is still loading, please try this snippet.

    add_action('wp_footer', 'ava_auto_resize');
    function ava_auto_resize(){
    ?>
    <script>
    (function($){	
    	var int = window.setInterval(function(){
    		$(window).trigger('debouncedresize resize');
    	}, 1000);
    	
    	$(window).load(function () {	
    		setTimeout(function() {
    			clearInterval(int);
    		}, 5000);
    	});
    })(jQuery);
    </script>
    <?php
    }

    Best regards,
    Ismael

    in reply to: Sticky Posts Not Displaying First #1230187

    Hi,

    Sorry for the delay. We added this snippet in the functions.php file to adjust the posts query of the masonry element.

    add_filter('avia_masonry_entries_query', 'avia_masonry_entries_query_mod', 10, 2);
    function avia_masonry_entries_query_mod($query, $params) {
    	$include = array();
    	$sticky = get_option( 'sticky_posts' );
    
    	$args = array(
    	  'taxonomy' => $params['taxonomy'],
    	  'post__not_in' => $sticky,
    	);
    	$posts = get_posts( $args );
    
    	foreach($posts as $post) {
    		$include[] = $post->ID;
    	}
    
    	$include = array_merge($sticky, $include);
    
    	// convert values of the $include from string to int
    	function sti($n)
    	{
    		settype($n, 'int');
    		return $n ;
    	}
    
    	$include = array_map("sti", $include);
    
    	$query['post__in'] = $include;
    	$query['posts_per_page'] = 6;
    	$query['orderby'] = 'post__in'; // sort items based on the post__in value
    	return $query;
    }
    

    The sticky posts now display in the first page.

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: Missing Dependencies after updating #1230180

    Hi,

    Thank you for the update.

    Looks like you’re using a custom timeline element, and the year 2020 is not changing because it’s a static text.

    <section class="av_textblock_section " itemscope="itemscope" itemtype="https://schema.org/CreativeWork">
    <div class="avia_textblock centered-text huge-text light-weight " itemprop="text">
    
    2020
    
    </div>
    </section>
    

    Did you create a custom timeline element? You could post a screenshot using imgur or dropbox.

    Best regards,
    Ismael

    in reply to: Cropped images on mobile version #1230177

    Hi,

    Thank you for the update.

    The theme automatically crops the background image or let it overflow outside the background positioning area in order to keep its aspect ratio. We can make the image fully visible within the section but will most likely distort the image or create white space around the container. So one solution is to create a duplicate of the same section and use a smaller image that is specifically cropped or resized for smaller screens.

    And if you’re seeing zoomed in images on iPad or iOS devices, this might be due to the fixed background attachment property. To fix it, we have to disable the fixed background effect, and revert it back to the default scroll behavior.

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

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

    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
    Best regards,

    Ismael

    Hey classywebsites,

    Thank you for the inquiry.

    We are not really sure how will this affect the installation because we haven’t really tried removing those entries before. But it looks like it is used by WordPress to check if the post date has changed. Removing it will probably not make any difference because WordPress will still generate it back once the posts are updated.

    // Redirect Old Dates
    add_action( 'post_updated', 'wp_check_for_changed_dates', 12, 3 );
    add_action( 'attachment_updated', 'wp_check_for_changed_dates', 12, 3 );
    
    function wp_check_for_changed_dates( $post_id, $post, $post_before ) {
    	$previous_date = date( 'Y-m-d', strtotime( $post_before->post_date ) );
    	$new_date      = date( 'Y-m-d', strtotime( $post->post_date ) );
    	// Don't bother if it hasn't changed.
    	if ( $new_date == $previous_date ) {
    		return;
    	}
    	// We're only concerned with published, non-hierarchical objects.
    	if ( ! ( 'publish' === $post->post_status || ( 'attachment' === get_post_type( $post ) && 'inherit' === $post->post_status ) ) || is_post_type_hierarchical( $post->post_type ) ) {
    		return;
    	}
    	$old_dates = (array) get_post_meta( $post_id, '_wp_old_date' );
    	// If we haven't added this old date before, add it now.
    	if ( ! empty( $previous_date ) && ! in_array( $previous_date, $old_dates ) ) {
    		add_post_meta( $post_id, '_wp_old_date', $previous_date );
    	}
    	// If the new slug was used previously, delete it from the list.
    	if ( in_array( $new_date, $old_dates ) ) {
    		delete_post_meta( $post_id, '_wp_old_date', $new_date );
    	}
    }
    

    If you really want to test it, make sure to create a backup or a restore point first.

    Best regards,
    Ismael

    Hi,

    Looks like you’ve already found a solution for the breadcrumb issue.

    // https://kriesi.at/support/topic/breadcrumbs-in-blog-archive-page-layout/#post-1228764

    Please don’t hesitate to open a new thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Burger when scrolling down #1230168

    Hi,

    Thank you for the update.

    You can use this css code to hide the main menu on a specific page and only display the burger icon.

    .page-id-209 #avia-menu .menu-item {
        display: none !important;
    }
    
    .page-id-209 .av-burger-menu-main {
        display: block !important;
    }

    Just replace the number 209 with the actual ID of the shop or cart page.

    Best regards,
    Ismael

    in reply to: Portfolio Page Display Bug #1229859

    Hi,

    Thank you for the update.

    We get the spacing issue randomly and we also noticed that the page lags or it is quite slow to load. Maybe because there are a lot of huge images in it. To fix the issue, we increase the duration of the script and force the window to resize to reposition the grid items while the page or the images are loading.

    Best regards,
    Ismael

    in reply to: issues with blogpage and posts #1229855

    Hi,

    Thank you for the screenshots.

    We can now see the issue, but we’re not really sure why the images are cut off.

    To fix it, we can use this css code to decrease the width of the image and still align it in the center.

    @media only screen and (max-width: 989px) {
        .single .slide-image img {
     	width: calc(100% - 20px);
        }
    }
    

    The login token above has expired, so we couldn’t add the modification.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    IMO, watching embedded clips inside that tooltip is not ideal — it will close whenever the tooltip is out of focus or when the cursor is not over it and it’s also quite small. It’s also uncommon and maybe unintuitive. Users will probably prefer a link that can open the media file or video inside a modal popup or a lightbox container, or redirect to an external link and watch the video from there.

    Best regards,
    Ismael

    in reply to: Various Bugs on my landing pages #1229845

    Hi,

    Thank you for that info.

    So it turned out that the extra scrollbar really caused the issue. To remove that scrollbar, we added this code in the Quick CSS field.

    html.responsive, .responsive body {
    	overflow-x: inherit !important;
    }

    Best regards,
    Ismael

    Hi,

    My mistake. This line:

    item.style.backgroundImage = url(${item.dataset.src});
    

    .. should be:

    item.style.backgroundImage = {BACKQUOTE}url(${item.dataset.src}){BACKQUOTE};
    

    It should work properly now.

    You can also post the login details in the private field so that we can test it properly.

    UPDATE: The editor removes the back quotes which enclose this line:

    url(${item.dataset.src})
    

    Please add it manually by replacing the placeholder {BACKQUOTE}.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    The problem is with the WooCommerce and WooCommerce Dynamic Pricing & Discounts plugin. As soon as the plugin is activated, it overrides the pricing and quantity template, and moves the quantity after the price, so instead of:

     1 × €275.50
    

    .. the format changes to price x quantity:

    275.50€ x 1
    

    The plugin probably contains this filter.

    woocommerce_widget_cart_item_quantity
    

    Please ask the plugin author if it’s possible to revert the cart format to default.

    Best regards,
    Ismael

    in reply to: custom sidebar on buddypress pages #1229827

    Hi,

    Thank you for the update. I believe this line:

    if ( bp_current_component ) {
    

    .. should be:

    if ( bp_current_component() ) {
    

    .., and if you want to exclude the blog pages or to prevent the “Forum” sidebar from displaying on it, try this condition:

    if ( bp_current_component() && ( !is_home() && !is_page(ID OF THE PAGE HERE)) ) {
    

    Replace the placeholder in the is_page function with the actual ID of the blog page. The condition is_home should be enough, but it’s not going to work if you didn’t set the blog as the main blog or posts page in the Settings > Reading or the the Enfold > Theme Options panel.

    Best regards,
    Ismael

Viewing 30 posts - 17,851 through 17,880 (of 67,463 total)