Forum Replies Created
-
AuthorPosts
-
Hi,
The current minification or caching configuration is probably not compatible with your site or server, so you have to find another set of plugins or play around with the options more until you find the configuration that works best. This article should help:
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
Best regards,
IsmaelJanuary 10, 2019 at 6:39 am in reply to: How to add link to colour section background image #1052183Hey Huan_Rimington,
Thank you for using Enfold.
That option is not available by default but this script should help.
add_action('wp_footer', 'ava_add_link_to_home_section'); function ava_add_link_to_home_section(){ ?> <script type="text/javascript"> (function() { const hm = document.querySelector('#home'); if( hm ) { hm.addEventListener( 'click', (event) => { event.preventDefault(); window.location.href = "http://www.google.com"; }); } })(); </script> <?php }
This script will redirect you to another page when you click on the “home” section.
Add this css code to change the mouse cursor.#home { cursor: pointer; }
Best regards,
IsmaelHi,
Thanks for the update.
I adjusted the css code a bit.
@media only screen and (max-width: 768px) { .responsive #top #wrap_all .flex_column.social-columns:nth-child(1), .responsive #top #wrap_all .flex_column.social-columns:nth-child(5) { display: none !important; } .responsive #top #wrap_all .flex_column.social-columns { width: 33.33%; float: left; } }
Don’t forget to set the “Equal Height Columns” settings to the first option.
Best regards,
IsmaelHi,
Do you have a copy of the content? It was removed after adding the text block. The post is breaking because of the heading.
< strong > SI VOUS ETIEZ LE PROCHAIN ?
You forgot to close the strong tag.
Best regards,
IsmaelHi,
Can we access the file server? Please post the FTP details in the private field.
Best regards,
IsmaelJanuary 9, 2019 at 1:32 pm in reply to: Photos taking up a huge amount of space on my site storage – anything I can do? #1051817Hi,
Thanks for the update. This filter works on my end.
add_filter('avf_modify_thumb_size', 'avf_modify_thumb_size_mod', 10, 1); function avf_modify_thumb_size_mod($size) { $size = array(); return $size; }
Best regards,
IsmaelJanuary 9, 2019 at 1:11 pm in reply to: improved: added rel='nofollow' ? Excuse me? What? This is the biggest nonsense #1051813Hi,
A “nofollow” on the search link really doesn’t meet any of those criteria
I think it does make sense when you want to prioritize other content or redirect the crawlers. By adding the “nofollow” attribute to the search link, we are telling the crawlers not to follow, and in turn not index, the items on the search results page, which is reported to be causing duplicate contents. That is the whole intention of that modification. We are by no means SEO expert, so any suggestions from other users are welcome.
Under “3. Crawl prioritization”:
Using nofollow on these links enables Googlebot to crawl other pages you’d prefer to see in Google’s index.
=======================================================================================
If duplicate content is the issue, then I would think that a noindex would be the correct way to handle.
Thanks for the suggestion. Like I said, the search results page is already set to “noindex, follow”, but it’s still generating duplicated contents as reported by other users.
If you really want to change that attribute, edit the functions-enfold.php file, look for this code around line 124:
<a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a>
Best regards,
IsmaelHi,
Did you delete the project? The error says that the project has been deleted.
js?v=3.30&key=APIKEYHERE&callback=aviaOnGoogleMapsLoaded:54 Google Maps JavaScript API error: DeletedApiProjectMapError
https://developers.google.com/maps/documentation/javascript/error-messages#deleted-api-project-map-errorPlease create another project and regenerate a new API key. Refer to the documentation above for more info.
Best regards,
IsmaelHi,
Yes, some users reported the same issue and installing a security plugin usually stops the problem. Let us know if the reCAPTCHA plugin helps.
Best regards,
IsmaelHi,
Thanks for the update. Post the script on pastebin.com and we’ll try to modify it.
Best regards,
IsmaelJanuary 9, 2019 at 12:50 pm in reply to: Autoplay Vimeo video added to homepage with Avia Video block #1051801Hi,
Thanks for the info. I adjusted the code a bit. Clicking on the button will play or pause the video and set the volume to 1 or 100%. I also adjusted the button’s position, so it doesn’t cover the video.
add_action('wp_footer', 'ava_custom_vimeo_api'); function ava_custom_vimeo_api(){ ?> <script src="https://player.vimeo.com/api/player.js"></script> <script type="text/javascript"> document.addEventListener( "DOMContentLoaded", () => { let player = null; const slide = document.querySelector('.av-video-slide'); let iframes = slide.getElementsByTagName('iframe'); const button = slide.querySelector('.avia-slideshow-button'); button.classList.add('paused'); for (var i = 0; i < 1; i++) { player = new Vimeo.Player(iframes[i]); } player.on('play', () => { console.log('played'); player.setVolume(1); button.classList.replace('paused', 'playing'); }); player.on('pause', () => { console.log('paused'); button.classList.replace('playing', 'paused'); }); if( slide ) { button.addEventListener( 'click', (e) => { e.preventDefault(); if( button.classList.contains('playing') ) { button.textContent = 'Play Video'; player.pause(); } if( button.classList.contains('paused') ) { button.textContent = 'Pause Video'; player.play(); } }); } }); </script> <?php }
CSS code:
.avia-slideshow-button.paused, .avia-slideshow-button.playing { position: absolute; right: 0; bottom: -50px; }
Best regards,
IsmaelJanuary 9, 2019 at 12:00 pm in reply to: Latest Enfold [5.+] not working with H5P plugin [no errors in console] #1051754Hi,
[5 themes tested]
Which themes are you using aside from Enfold?
I have disabled the security you should be able to access it
I can’t login using the password above. Did you change it?
Best regards,
IsmaelHi,
1.) I forget to change the value “none” to “block”. Please adjust the css code.
2.) You can create another table that is specifically sorted for mobile view. Use the elements’ Screen Options to toggle their visibility.
Best regards,
IsmaelHi,
I am still quite confuse myself but I’m glad that it is working properly now. Let us know if you need anything else.
Best regards,
IsmaelHi,
The css background attachment “fixed” is not or partially supported on iOS devices and it is completely disabled on Android devices, which is why it’s not working. Are you checking it on an iOS device?
// 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 detailsBest regards,
IsmaelHi,
The password for the username “julia” is incorrect. Please check it carefully. The site is also on maintenance mode, so we can’t check it without logging in.
Best regards,
IsmaelHi,
Can we have access to the site? Please post the login details in the private field. We’ll check the page editor.
Best regards,
IsmaelHi,
Ismael, this is working on some websites and not on others
The more reason to check if it’s a plugin conflict. Are the sites running the same plugins?
Best regards,
IsmaelHi,
Can we access the dashboard? Are you using other cache or minification plugin? Please post the login details in the private field.
Best regards,
IsmaelHi,
It’s probably not working properly because the site is still running on an old version of the theme, 4.2. You have to upgrade to version 4.5.2 manually.
// https://kriesi.at/documentation/enfold/install-enfold-theme/#reinstall-or-update-using-ftp
Best regards,
IsmaelHi,
You have to disable the plugin temporarily in order to find out which plugin is generating those meta tags.
Best regards,
IsmaelJanuary 9, 2019 at 11:25 am in reply to: Hidden products appearing in search and post navigation arrows #1051727Hey chartinboy,
Thank you for using Enfold.
You can use this filter to remove hidden products from the search results page.
if ( ! function_exists( 'pre_get_posts_remove_hidden_product' ) ){ function pre_get_posts_remove_hidden_product( $query = false ) { if(!is_admin() && is_search()){ $query->set( 'meta_query', array( 'relation' => 'OR', array( 'key' => '_visibility', 'value' => 'hidden', 'compare' => 'NOT EXISTS', ), array( 'key' => '_visibility', 'value' => 'hidden', 'compare' => '!=', ), )); } } } add_action( 'pre_get_posts', 'pre_get_posts_remove_hidden_product' );
Unfortunately, you can’t exclude those products from the side navigation.
Best regards,
IsmaelHi,
Could you give us a screenshot of the issue? Are you expecting the images to be fully visible inside the slider? The slider images may not fully display inside the slider because they have to retain the aspect ratio.
Best regards,
IsmaelJanuary 9, 2019 at 8:35 am in reply to: Advanced Layout Editor – conflict with WP Store Locator plugin #1051634Hi,
Great! Glad it is fixed. You can actually disable the block editor on version 4.5.2. You can find the editor settings in the Enfold > Theme Options panel.
Best regards,
IsmaelJanuary 9, 2019 at 8:33 am in reply to: Google Ads in Sidebar are being cropped by Container padding #1051633Hi,
The ads will automatically inherit the width of its parent container and it is currently being set to 110px. Have you tried increasing the width of the sidebar?
Best regards,
IsmaelHi,
Thanks for the update. Not really sure what could cause that. Do you have a staging site where we can see the AJAX functionality in action? Please keep in touch with the plugin developer as they are more familiar with the plugin.
Best regards,
IsmaelJanuary 9, 2019 at 8:13 am in reply to: Slider and menu showing far down the screen below white space on mobile device #1051619Hi,
Did you add any custom modifications to the theme? The height of the header elements are being set dynamically.
Best regards,
IsmaelHi,
Is this fixed? The columns look fine on my end.
// https://imgur.com/a/aRQGkFu
Best regards,
IsmaelHi,
Those options are not available for the map widget but you can use the “avf_google_maps_data” to adjust the map options.
This example adjusts the map saturation:
add_filter( 'avf_google_maps_data', 'avia_maps_widget_saturation', 999, 4 ); function avia_maps_widget_saturation ( $data, $context, $object, $args ) { if($data[0]['shortcode'] === NULL || $data[0]['shortcode'] != 'av_gmap_location') { $data['saturation'] = '-50'; } return $data; }
Related thread: https://kriesi.at/support/topic/enfold-google-maps-widget-saturation/#post-981558
Best regards,
IsmaelHi,
The css code is there but it’s not taking effect.
.responsive .container{ max-width: 1400px; }
Please go to the wp-content > uploads > dynamic_avia folder and rename the enfold.css file to enfold_bak.css. Go back to the Theme Options, toggle any settings and save the changes to regenerate the dynamic stylesheet.
Best regards,
Ismael -
AuthorPosts