Forum Replies Created

Viewing 30 posts - 18,001 through 18,030 (of 67,597 total)
  • Author
    Posts
  • 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

    in reply to: Breadcrump navigation on bbpress forum pages #1229826

    Hi,

    You’re welcome! Please note that the filter called “change_root” provided by another user in that thread overrides the default breadcrumb function. You can add your own custom modifications inside that filter.

    Best regards,
    Ismael

    Hi,

    Thank you for the clarification.

    The video doesn’t display properly because an inline styling is being applied to it.

    element {
    	width: 480px;
    	height: 270px;
    	min-width: 179px;
    }

    To fix the issue temporarily or to override the unwanted styling, we added this css code in the Quick CSS field.

    .avia-slide-wrap .mejs-container {
    	width: auto !important;
    	height: auto !important;
    	min-width: auto !important;
    }

    We are not able to reproduce the issue on our local installation, so it’s probably cause by a plugin or a custom script.

    Best regards,
    Ismael

    in reply to: LMS, Learning Management System #1229824

    Hi,

    Thank you for the update.

    The archive is not displaying properly because the sidebar is being rendered outside the main container. You may need to contact the plugin author and ask them if it’s possible to override the default archive template used by the plugin.

    According to the plugin’s documentation, the templates can be found inside the lifterlms/templates/ folder.

    // https://lifterlms.com/docs/lifterlms-templates/

    Best regards,
    Ismael

    in reply to: WPML Translation / Site not working after updating #1229788

    Hi,

    Thank you for the update.

    In the EN version, we reselected the images for the Fullwidth Slider. We also adjusted the Portfolio Einträge Basis in the Settings > Permalinks panel. (see private field)

    Best regards,
    Ismael

    in reply to: z-index problem #1229785

    Hi,

    The clip-path property is partially supported on most browsers, and it will not work on others (IE, Opera).

    // https://caniuse.com/#feat=css-clip-path

    To fix the issue, you might have to extract the text from the logo and add it as a widget as @Rikard suggested previously.

    Another solution is to set a higher z-index for the menu container and remove its background so that it won’t cover the logo. We can then create a pseudo container, apply a background to it and place it behind the alternate menu container.

    #top #header_main_alternate {
        background-color: transparent;
        z-index: 5;
    }
    
    .container.av-logo-container::after {
    	width: 100%;
    	height: 50px;
    	background: #f7f7f7;
    	bottom: 5px;
    	display: block;
    	content: '';
    	position: absolute;
    	left: 0;
    	z-index: 0;
    	visibility: visible;
    }
    
    .header-scrolled .container.av-logo-container::after {
    	bottom: 20px;
    }
    

    Best regards,
    Ismael

    Hi,

    Thank you for the update. We’ll notify you once we figure out the issue.

    Best regards,
    Ismael

    in reply to: Grid Row Cell – how make arrow point to image #1229783

    Hi,

    Sorry for the delay. To create the arrow, try to start with this css code.

    .gr-custom .av_textblock_section::after {
    	content: '';
    	position: absolute !important;
    	color: #fff !important;
    	display: block;
    	z-index: 99999999999999999 !important;
    	overflow: visible !important;
    	visibility: visible !important;
    	font-family: 'entypo-fontello';
    	left: auto;
    	top: 23%;
    	width: 0;
    	height: 0;
    	border-bottom: 30px solid transparent;
    	border-top: 30px solid #e8e8e800;
    	border-left: 40px solid #539550;
    	right: -30px;
    }

    Best regards,
    Ismael

    in reply to: Shortcodes don't work in post header #1229417

    Hi,

    Thank you for the info.

    Looks like you did a lot of modifications in the econsor child theme, but some of it are not valid like copying the functions-enfold.php, config-templatebuilder and the framework folders. You can’t really override those in the child theme. Did you modify all items in the includes folder? You should refrain from moving everything from the parent to the child directory because it makes site maintenance a lot more difficult.

    Unfortunately, we still don’t know why the content slider is not rendering properly in the top header. This might be due to modifications that we are not aware of.

    Best regards,
    Ismael

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

    Hi,

    Thank you for the update.

    The staging site redirects to the live domain alinea when we access it. Would you mind checking it?

    Best regards,
    Ismael

    Hi,

    We tried to login to the server but the account is not valid. Please check the info carefully or provide another FTP account. We also tried to edit the scripts from the Appearance > Editor panel, but we always get an error when we try to save the changes.

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: Updating failed – bugs on post/page #1229402

    Hi,


    @agavinho
    : What happens when you switch the editor from Block to the Classic one? You can select the editor in the Enfold > Theme Options panel. Can we access the site?

    Best regards,
    Ismael

    in reply to: Burger when scrolling down #1229393

    Hi,

    Thank you for the update.

    We edited the functions.php file a bit — this line:

     if($(window).width() > 1366) {
    			    avia_scroll_top_menu();
    			}
    

    The scroll effect should only take effect when the screen width is more than 1366px, and if not the default mobile menu will be shown. If you’re testing this on a browser emulation, you have to refresh the page in order to see the expected behavior.

    Best regards,
    Ismael

    in reply to: LMS, Learning Management System #1229391

    Hi,

    Thank you for the update.

    Where can we see the issue? We checked one of the courses and the sidebar is displaying properly there. Please provide a link to the actual page where we can see the issue.

    Best regards,
    Ismael

    in reply to: Burger-Menu / How can I change the position? #1229383

    Hi,

    Glad to hear from you.

    We can only provide so much with modifications here in the forum and some requests, unfortunately, we cannot fulfill without consuming most of our time, which is also allotted for other users. And this is one of those requests. Sorry about that. You may need to hire someone else to create the custom menu, or you can always ask your friend how he/she did it. Unfortunately, this kind of modification is beyond the scope of support.

    Thank you for understanding.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    There is a an available script to make the tool recognize shortcodes but it will take quite a while to implement, so we might not be able to fix this on our end. Fortunately, Yoast added a lot of good recommendations beside the report list or notices so that you can satisfy the SEO requirements, so just make sure to follow those recommendations and you’re good to go. But again those changes will only reflect in the front end.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    The video inside the color section is different from the video at the bottom of the page. There is a common scene in both videos, which is probably why they look the same at first glance, but they are completely different. (see private field)

    Best regards,
    Ismael

Viewing 30 posts - 18,001 through 18,030 (of 67,597 total)