Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
Have you tried editing the themes\enfold\includes\loop-page.php file directly as @Guenni007 suggested above? Or if you’re referring to the color section element, try to modify the themes\enfold\config-templatebuilder\avia-shortcodes\section.php. This code around line 1347:
$output .= "<div class='post-entry post-entry-type-page {$post_class}'>"; $output .= "<div class='entry-content-wrapper clearfix'>";Best regards,
IsmaelJuly 22, 2020 at 5:14 pm in reply to: column position fixed hides underneath header – z-index? #1232335Hi,
Thank you for the info.
The column is not clickable because the header covers the content container, which is where the column is. You could instead add a widget or a link directly inside the header container.
Please check the documentation below.
// https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area
Best regards,
IsmaelHey Steve,
Thank you for the inquiry.
The snippet is actually based on a script in this documentation.
// https://dimsemenov.com/plugins/magnific-popup/documentation.html#inline-type
What you need to do is create an element and apply a unique ID to it.
<div id="test-popup" class="white-popup mfp-hide"> Popup content</div>And a button or a link with the inline_popup class attribute or name, and with the ID of the above element as its href value.
<a href="#test-popup" class="inline_popup">Show inline popup</a>When the link is clicked, it will open a lightbox container and display the #test-popup content, or the content of the element with the ID test-popup.
Best regards,
IsmaelHi,
Thank you for the inquiry.
Have you tried doing the recommendations in the article that @Rikard posted above? They might not satisfy the lighthouse criteria completely, but the instructions there should help improve the overall performance of the site.
Best regards,
IsmaelHi,
Thank you for the inquiry.
We can hide the top bar or the header meta in the home page with this css code.
.home #header_meta { display: none !important; }Best regards,
IsmaelJuly 22, 2020 at 4:17 pm in reply to: How to make a HubSpot banner fixed(while scrolling) without the overlap? #1232294Hi,
Thank you for the inquiry.
You can use this css code to adjust the vertical position of the modal container.
.leadinModal { position: fixed; top: 88px; right: 0; }This will just move modal below the header. You may need to ask the plugin author for an additional script if you want to adjust the header position based on the status of the modal container.
Best regards,
IsmaelJuly 22, 2020 at 4:04 pm in reply to: Layerslider Warning: Creating default object from empty value #1232279Hi,
Thank you for the inquiry.
Is this the code that you see on line 28 when you edit the avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php?
$this->config['forced_load_objects'] = array( 'layerslider' ); // fallback only to make sure we load in case user overwrites this class and direct checks for shortcode might failBest regards,
IsmaelHey OverlapAT,
Thank you for the inquiry.
The script has been moved from shortcodes.js file to enfold\framework\js\conditional_load\avia_google_maps_api.js. Just do the same modification and make sure to toggle the Performance > File Compression settings to regenerate the scripts.
Best regards,
IsmaelJuly 22, 2020 at 3:42 pm in reply to: Bug Report: Enfold logos excluded from lazy load and caching plugins #1232265Hey Thomas,
Thank you for the inquiry.
Do you have a reference from Google or a documentation that says it is better to lazy load the logo? We are not really sure if that is such a good idea because you want your logo to be immediately visible when the page load. And delaying it doesn’t really make that much impact in performance because of its file size.
If you really need to implement it, this documentation should help.
// https://jetpack.com/support/lazy-images/
You have to add the data-lazy-src attribute to the logo tag.
Best regards,
IsmaelHi,
The other meta tag is probably added by a plugin or a custom script. If you need to disable the default meta tag from the theme, try to use this filter instead.
function avia_archive_set_follow($meta) { return ""; } add_filter('avf_set_follow','avia_archive_set_follow', 10, 1);Best regards,
Ismael-
This reply was modified 5 years, 9 months ago by
Ismael. Reason: adjusted filter
July 21, 2020 at 12:59 pm in reply to: Header shopping cart symbol & Dynamic Pricing & Discounts #1232018Hi,
Thank you for the info.
Try to modify the enfold\config-woocommerce\config.php file and replace everything with this code:
// https://pastebin.com/C9zKFNMd
After that, edit the enfold\config-woocommerce\woocommerce-mod.js, and again remove everything and replace it with the following.
// https://pastebin.com/fuk1LdhX
Best regards,
IsmaelHi,
Thank you for the update.
The rhemacc site is still served from Cloudflare. Please check the HTTP headers below. You may need to contact your hosting provider and ask them to disable it properly.
Best regards,
IsmaelHi,
Thank you for the update.
Yes, it should work properly as long as the table shortcodes in the child theme is disabled. Or if you intend to modify the table, just make sure that the child theme’s table.php file contains the latest code.
Best regards,
IsmaelHi,
Some of the toggles or content are wrapped inside the fr-cookie element, but some are not such as this one.
<span class="toggle-label-content">Cacher en permance la barre de message et refuser tous les cookies. Nous avons besoin de stocker ces 2 paramètres. Dans le cas contraire il vous sera demandé d'ouvrir une nouvelle fenêtre ou un nouvel onglet.</span>Make sure that they are wrapped inside an element with the fr-cookie class attribute or name.
<span class="fr-cookie"> CONTENT HERE </span>Best regards,
IsmaelJuly 21, 2020 at 6:52 am in reply to: Removing old_slug and old_date from WordPress Database #1231951Hi,
Almost all functions in the core are available in the documentation.
You can check it out here.
// https://developer.wordpress.org/reference/functions/wp_check_for_changed_dates/
The actual code can be viewed in the Trac.
// https://core.trac.wordpress.org/browser/tags/5.4/src/wp-includes/post.php#L6287
Thank you for your patience.
Best regards,
IsmaelHi,
We still don’t know why the internal server error occurs, unfortunately. Please ask your hosting provider to disable HTTP/2 temporarily.
Are you aware that the site’s front page is almost 50MB in size and does almost 400 requests? So that you know how critical that is or to put it in perspective, the front page of the largest online store is less than 10MB and makes half that requests. You may want to decrease the number of products or content displayed in the front page and distribute them to other pages. Make use of product categories so that you can redirect users to other pages.
Best regards,
IsmaelHi,
As we previously suggested, we have to increase the stack order or the z-index property of the social links or its parent container. Please move the links inside a color section, edit the section and apply an ID to the container in the Advanced > Developer Settings > Custom ID Attribute field, use “custom-section” for example. We can then use that ID to adjust the style of the color section and adjust its stack order.
#custom-section { z-index: 10000; }Thank you for your patience.
Best regards,
IsmaelJuly 21, 2020 at 5:44 am in reply to: Accessibility issues with main nav leaves US sites in danger of lawsuits :( #1231942Hi,
You’re welcome! Glad it worked. Please don’t hesitate to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHey!
Thank you for the update.
The preview works when we switch the editor from Block to the Classic one.Are you using the Block or Gutenberg editor? If not, then you can keep the editor settings as is.
Regards,
IsmaelJuly 20, 2020 at 2:13 pm in reply to: Layerslider Shortcode doesn't work in Sidebar Widgets #1231715Hi,
Thank you for the update.
The layer slider shortcode is disabled by default and is only available in the premium or standalone version.
// https://kriesi.at/support/topic/layerslider-in-widget-area/
And it looks like you’re trying to use shortcodes that are exclusive to WordPress.com sites.
// https://codex.wordpress.org/Shortcode#Built-In_and_Additional_Shortcodes
Please make sure that you’re only using those that are actually available in WordPress.org.
Best regards,
IsmaelHi,
Thank you for the inquiry.
There is a table.php file inside the custom-codes folder in the child theme directory, which overrides the default table shortcode. We disabled the avia_load_shortcodes filter in the functions.php file temporarily to disable the modified table shortcode.
Best regards,
IsmaelHey Beth,
Thank you for the inquiry.
Instead of using the Hotspot element, you might want to consider using the Text or Code Block element instead and add the images as inline content or set their alignment to left. The problem with your approach or with using the hotspot as link is that it won’t cover the whole image unless we adjust the hotspot size and as you may have noticed, it has a tooltip by default.
If you decided to proceed with the alternative solution, all you need to do is add the Text Block element, insert the image manually using the Add Media button and set their Attachment Display Settings accordingly. Make sure that the Alignment is set to Left and the Link To to Custom URL. You can also edit the images in the editor’s Visual mode.
Best regards,
IsmaelJuly 20, 2020 at 1:13 pm in reply to: Make "Get Demo" button link to our SimplyScheduleAppointment plugin #1231701Hi,
Thank you for the info.
You can set the link or menu item to open an inline content or element inside a lightbox container. Examples can be found in the following thread.
// https://kriesi.at/support/topic/code-snippet-inline-post-content-popup-magnific-popup-shortcode/
// https://kriesi.at/support/topic/open-form-in-a-lightbox-popup/
// https://kriesi.at/support/topic/inline-content-in-magnific-popup/This is based on this content type.
// https://dimsemenov.com/plugins/magnific-popup/documentation.html#inline-type
Best regards,
IsmaelHi,
Thank you for the inquiry.
Did you set the Industries page as the child or sub page of the Blog page? Please post the login details in the private field so that we can check the dashboard and the settings.
Best regards,
IsmaelHi,
We get an internal server error 500 whenever we try to search for posts but we are not yet sure why. The site takes quite a while to load and sometimes the image sets are blocked when we check the Network resources, so we can’t debug the site properly. The only difference that we noticed is that the site is using HTTP/2 protocol instead of the default HTTP/1, which is odd because the new protocol is supposed to improve the loading speed of the site. Did you configure the Apache server to use HTTP/2?
Is there a staging or development version of the site? We would like to be able to disable the plugins while doing some tests.
Thank you for your patience.
Best regards,
IsmaelHi,
just want to let you know that the issue has been solved. The problem was one function of my own in the functions.php.
Good to know. Let us know in a another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelJuly 20, 2020 at 8:15 am in reply to: Removing old_slug and old_date from WordPress Database #1231643Hi,
Thank you for the update.
The code above is already included in the WP core, so you don’t need to add it. It checks if the post date has changed and will regenerate the _wp_old_date entry whenever necessary.
Best regards,
IsmaelHi,
Thank you for the update.
The fullscreen option for the media element is not supported by default but we can modify the js > avia.js file and add it manually. In the file, look for this code around line 468:
features: ['playpause','progress','current','duration','tracks','volume'],.. and in the array, add the “fullscreen” option.
features: ['playpause','progress','current','duration','tracks','volume', 'fullscreen'],// https://github.com/mediaelement/mediaelement/blob/master/docs/api.md#player
Best regards,
IsmaelHi,
Thank you for the update.
The form button sends an AJAX request when clicked, so we can wait for that request and reset the height of the tab section afterwards. We tried to add the script in the functions.php via Appearance > Editor panel but we always get an SFTP error or notice. We may need to access the file server directly.
If you want to test it yourself, just add this code in the functions.php file.
add_action("wp_footer", "ava_bookly_resizer", 9999); function ava_bookly_resizer() { ?> <script> (function($) { var s_ajaxListener = new Object(); s_ajaxListener.tempOpen = XMLHttpRequest.prototype.open; s_ajaxListener.tempSend = XMLHttpRequest.prototype.send; s_ajaxListener.callback = function () { setTimeout(function() { $(window).trigger('debouncedresize av-content-el-height-changed'); }, 500); } XMLHttpRequest.prototype.open = function(a,b) { if (!a) var a=''; if (!b) var b=''; s_ajaxListener.tempOpen.apply(this, arguments); s_ajaxListener.method = a; s_ajaxListener.url = b; if (a.toLowerCase() == 'get') { s_ajaxListener.data = b.split('?'); s_ajaxListener.data = s_ajaxListener.data[1]; } } XMLHttpRequest.prototype.send = function(a,b) { if (!a) var a=''; if (!b) var b=''; s_ajaxListener.tempSend.apply(this, arguments); if(s_ajaxListener.method.toLowerCase() == 'post')s_ajaxListener.data = a; s_ajaxListener.callback(); } })(jQuery); </script> <?php }Or post the SFTP details in the private field so that we can test the modification.
Source: https://gist.github.com/alecperkins/3889507
Best regards,
IsmaelHi,
Thank you for the info.
That is not issue with the padding. Unfortunately, we can’t control the sorting order of the masonry items because the isotope script automatically calculates their position based on the size of the featured image relative to the next and previous items and some other factors. You may need to switch to the Perfect Grid option if you want the items to be arranged based on their actual order in the dashboard or based on the orderby settings
I’m confused about the numbers shown by the Chrome Dev Tools:
This has a border padding of 542.938:
https://thomas-urbany.com/wp-content/uploads/2020/05/Bildschirmfoto-2020-05-31-um-17.53.28.pngThe value of the bottom padding is 80% of the actual height of the featured image or the masonry item. Again, this is set to control the aspect ratio of the item. You can play around with the value of the bottom padding to see how it affects the aspect ratio.
Best regards,
Ismael -
This reply was modified 5 years, 9 months ago by
-
AuthorPosts
