Forum Replies Created

Viewing 30 posts - 13,771 through 13,800 (of 65,711 total)
  • Author
    Posts
  • in reply to: edit portfolio categories default grid #1285371

    Hi,

    We modified the files listed in the link above and the pagination is now working properly. Do not forget to purge the cache and do a hard refresh before checking the page. If you want to increase the number of items in the archive page, please go to the Settings > Reading panel and set the Blog pages show at most settings accordingly.

    For new inquiries, please use the form in the following page.

    // https://kriesi.at/support/forum/enfold/#new-post

    Best regards,
    Ismael

    Hi,

    You might be able to use the avia_layout_filter to change the layout of the default templates. I’ve seen you use it before.

    // https://kriesi.at/support/topic/tag-archive/#post-1053634

    Or the avf_custom_sidebar filter to assign a different widget area to a certain template or page.

    // https://kriesi.at/support/topic/custom-sidebar-on-buddypress-pages/#post-1229447

    Best regards,
    Ismael

    in reply to: Cumulative Layout Shift too high #1284823

    Hi,


    @Swarez
    : If the layout shift points to the Portfolio Grid element, then this css code might help.

    .isotope {
        -webkit-transition: none !important;
        transition: none !important;
    }
    
    .grid-image {
    	opacity: 1 !important;
    }
    

    This will disable the grid transition and make sure that the portfolio images are visible immediately without animating.

    Best regards,
    Ismael

    in reply to: Error "Call to undefined function av_icon_string()" #1284814

    Hi,

    as I’ve been having these errors only on 2 of the sites.

    Are there any plugins installed in these sites that do not exist on the others? It is possible that one of those plugins is causing the issue.

    Did you enable the scanning option of the WP Cerber security plugin?

    // https://wpcerber.com/wordpress-security-scanner/

    Does the error occur when you run the scan manually?

    Best regards,
    Ismael

    in reply to: Accessibility check issues #1284813

    Hi,

    The caption title has no background by default but you could try this css code to make sure that it is transparent.

    #top #wrap_all .all_colors h1, #top #wrap_all .all_colors h2, #top #wrap_all .all_colors h3, #top #wrap_all .all_colors h4, #top #wrap_all .all_colors h5, #top #wrap_all .all_colors h6 {
    	background: transparent !important;
    }
    

    The other thing that might be causing the issue is the dimming effect. There seems to be a background that transitions from light to dark.

    And the modification that we suggested for the contact form should only remove the decoy field, which is a single input field, not the entire contact form. Are you sure that you did not modify anything else?

    Best regards,
    Ismael

    in reply to: Enfold and Google Core Web Vitals #1284811

    Hi,

    Are majority of those product pages? If yes, then our previous suggestion to switch to the default theme gallery should help.

    According to the result, the images in the gallery do not have explicit width and height and they are lazy loaded, which caused layout shifts. The CLS score might improve if you switch to the default gallery from the theme instead of using the Woocommerce 3.0 Gallery, and disable lazy loading.

    Best regards,
    Ismael

    in reply to: Enfold Gaming Demo Menu functionality on Sub Menu #1284777

    Hi,

    Alright. Thank you for the clarification. Please remove the previous script in the functions.php file and replace it with this instead.

    // a custom script
    // add current-menu-item class to active item
    function ava_custom_script_mod() {
        if ( wp_script_is( 'avia-default', 'registered' ) ) {
            wp_add_inline_script( 'avia-default', '
    		(function($) {
    			$(document).ready(function() {
    				const setActive = (entry) => {     
    					let item = $(<code>#top .av-subnav-menu a[href*=\'${entry}\']</code>);
    		
    					if(!item.attr("href").includes(entry)) return;
    					
    					let list = item.parent("li");
    					let parent = list.parent("#menu-sub-menu");
    
    					if(list.is(".current-menu-item")) return;
    
    					parent.find("li").removeClass("current-menu-item");
    					list.addClass("current-menu-item");
    				}
    				
    				const createObserver = (entry) => {
    					let el = document.querySelector(entry);
    					
    					const observer = new IntersectionObserver(function(entries) {    
    						if(entries[0].isIntersecting === true) {
    							setActive(entry);
    						}
    						
    						}, { root: null, threshold:  [0.1] });
    
    					observer.observe(el);
    				}
    
    				const anchors = ["#test", "#intro", "#about", "#reviews", "#latest", "#credits"];
    
    				anchors.map(anchor => {
    					createObserver(anchor);
    				});
    			});
    		})(jQuery);
    	');
        }
     }
     add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);
    

    In the anchors variable or in the following line, you can define or specify the elements that you would like observe on scroll.

    const anchors = ["#test", "#intro", "#about", "#reviews", "#latest", "#credits"];
    

    For some reason, the forum converts the escape in this line.

    let item = $(<code>#top .av-subnav-menu a[href*=\&#039;${entry}\&#039;]</code>);
    

    Please make sure to replace the html entity code (&#039 ;) with the actual single quote.

    Best regards,
    Ismael

    in reply to: Images inside text block #1284757

    Hi,

    No problem. We will close the thread now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Video in Color Section is not repeating #1284756

    Hi,

    Glad it is working. For further inquiries, please feel free to create another thread. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Video in Color Section is not repeating #1284754

    Hi,

    Glad it is working. For further inquiries, please feel free to create another thread. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Header width scrollin down #1284415

    Hi,

    No worries. Please feel free to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Internal link anchors top offset is wrong #1284414

    Hi,

    Try to replace the script with the following to append the hash or the anchor to the URL.

    function scrollToDiv(){
    ?>
    <script>
         jQuery(document).scroll(function() {
         var sections = jQuery('.avia-section'),
            menu   = jQuery('a[href^="#"]');
         	menu.on('click', function(event) {
        		var target = jQuery(this.getAttribute('href'));
        		if( target.length ) {
            		event.preventDefault();
            			jQuery('html, body').stop().animate({
                			scrollTop: target.offset().top - 200
            			}, 1000);
        			}
                            window.location.hash = this.getAttribute('href');
    			});
    		});
    </script>
    <?php
    }
    add_action('wp_head', 'scrollToDiv');
    

    Best regards,
    Ismael

    Hi,

    overlay stays visible after a rollover,

    Yes, that is how the above css code works. The overlay should only appear on hover by default, but the changes above makes sure that it is always visible. Is it not how you want it? How did you apply the custom icon?

    Best regards,
    Ismael

    in reply to: Accordion Jumping like an anchor tag in chrome #1284410

    Hi,

    Try to use this script instead to remove the ID attribute of every toggle_wrap container.

    function ava_custom_script(){
      ?>
      <script>
       (function($) {
           $(document).ready(function(){
             $('.single_toggle .toggle_wrap').removeAttr('id');
           });
      })(jQuery);
      </script>
    <?php
    }
    add_action('wp_footer', 'ava_custom_script');
    

    Best regards,
    Ismael

    in reply to: Error "Call to undefined function av_icon_string()" #1284408

    Hi,

    Could you provide a list of plugins that are currently installed in the site? Maybe one of them is loading the theme partially, which might be causing the issue. Have you tried upgrading to PHP 8.0?

    Best regards,
    Ismael

    in reply to: Enfold Gaming Demo Menu functionality on Sub Menu #1284403

    Hi,

    Thank you for the update.

    The script and css code above should be applied to the full sub menu items. Did you try it? You may need to purge the cache and do a hard refresh before checking the page.

    Best regards,
    Ismael

    in reply to: Color Section Toggle not working #1284398

    Hi,

    Glad to know that it is working. And thank you for sharing the code.

    Best regards,
    Ismael

    in reply to: General Theme Edit Issues #1284397

    Hi,

    The css code above should also affect the columns in the Posts panel. Please try to add it in the functions.php file and let us know if it changes anything. It is possible that the issue is cause by a plugin because we cannot reproduce it on our own installation.

    Best regards,
    Ismael

    in reply to: Post Slider hover transition #1284394

    Hi,

    Thank you for the update.

    The whole box or slide entry container should be clickable and redirect to the corresponding links when clicked. The css code above will just adjust the padding, so I doubt it actually changes anything. Did you add the css code that we suggested above?

    .slide-entry {
    	cursor: pointer;
    }
    

    Best regards,
    Ismael

    in reply to: Cookie Badge #1284391

    Hi,

    You are very welcome! Glad we could be of help. Please feel free to open a new thread should you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Additional Custom Cookies not working #1284390

    Hi,

    According to an article created by the plugin developers, the Google Analytics feature is compatible or should work seamlessly with the following plugins.

    // https://wordpress.org/plugins/cookie-notice/
    // https://wordpress.org/plugins/cookiebot/

    Unfortunately, we are not familiar or we are not sure how the plugin loads the GA script, so you might have to use one of those plugins or just add the script in the theme’s Google Service > Google Analytics field.

    Best regards,
    Ismael

    in reply to: Cumulative Layout Shift too high #1283930

    Hey!

    If you are using the native lazy loading option, you should be able to prevent the browser from lazy loading a specific image element (slider, gallery, image etc) by selecting the appropriate option in the Advanced > Performance > Lazy Loading Of Images settings,

    Regards,
    Ismael

    in reply to: Layer slider not works #1283923

    Hey!

    Sorry for the confusion. We forgot that we were the one who added the snippet in the functions.php file. Did you try the updated code that we posted above? You should be able to edit the functions.php file in the Appearance > Editor panel, or via FTP if you already have a login account. If the Appearance > Editor panel is not accessible, we may need to modify the wp-config.php file. And for that, we really need an FTP account.

    Cheers!
    Ismael

    in reply to: Menu underline the same width as the menu titles? #1283918

    Hi,

    Thank you for the info.

    We could create a pseudo container (:before) inside the current menu item, specify its dimension so that it has the same width as the menu item minus the 26px padding, apply the same orange background to it and make sure that it is positioned at the very top of the header. Please remove 3px orange border that you previously applied to the current menu item, then use this css code instead.

    .current-menu-item::before {
    	content: "";
    	position: absolute;
    	top: 0;
    	width: calc(100% - 26px);
    	height: 3px;
    	background: #fbb040;
    	left: 13px;
    }
    

    Best regards,
    Ismael

    in reply to: Cumulative Layout Shift too high #1283913

    Hi,

    @thinkjarvis: We are not really sure about that, but according to the web vitals’ documentation, providing width and height attributes to the images should be enough to decrease the impact cause by any lazy loading scripts to the CLS score. It is also mentioned in the documentation that any images that are above the fold should not be lazy loaded.

    // https://web.dev/browser-level-image-lazy-loading/#avoid-lazy-loading-images-that-are-in-the-first-visible-viewport

    Best regards,
    Ismael

    in reply to: Cumulative Layout Shift too high #1283908

    Hi,

    @swarez: We checked the performance of the above page in the pagespeed insight tool and according to it, the CLS score in the past 28 days is already 0.1, which is very high, given that lazy loading is probably still enabled during those periods. The lab data however, shows that the CLS score is 0.24, but this might be due to the server location against ours, and unless the site is on a CDN, the distance between the server and the client could really affect the site performance or how fast it displays on our browser. But we will look into using placeholders for images while the page is still loading.

    Score: https://imgur.com/0VERHZq

    Best regards,
    Ismael

    in reply to: Change color of selected text in LayserSlider #1283883

    Hi,

    No problem. Glad to know that it is working.

    Have a nice day. :)

    Best regards,
    Ismael

    in reply to: Header Scrolled – Slide Down Background instead of fade #1283881

    Hi,

    Thank you for the update.

    It is not yet working because the quotation marks in this part of the code have been converted to something else, and so the container block that is supposed to transition up and down is not rendered.

    content: &quot;
    

    Please replace it with this.

    content: "";
    

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    The css code above is working properly on our installation. Would you mind providing a screenshot of the issue, and a direct link to the page containing the overlay? We might be talking about two different things here, so providing a screenshot and/or creating a test page should help clear things out.

    Best regards,
    Ismael

    in reply to: social buttons broken with WP 5.3.1 update #1283878

    Hi,


    @joax
    : The icons display fine in those sites. Have you figured out the issue?

    Best regards,
    Ismael

Viewing 30 posts - 13,771 through 13,800 (of 65,711 total)