Hi,
When portrait format images were uploaded originally, Enfold portfolio size image (495x400px) was enabled.
You may need to regenerate the thumbnails to delete the disabled thumbnails. Have you tried any of these plugins?
— https://wordpress.org/plugins/regenerate-thumbnails/
— https://wordpress.org/plugins/regenerate-thumbnails-advanced/
Make sure to create a site back up before using the plugins.
I also know that I’ve got some uploaded images with an original width of 400px so just targeting “400” in srcset isn’t an option,
Unfortunately, this is not possible without manually targeting each image. You may need to keep the thumbnails with a 400px height. As mentioned above, the file size difference between these thumbnails is very negligible, so it won’t really make much difference whether they are enabled or disabled.
Best regards,
Ismael
Hi guys,
We found out that no matter what we choose in “Delete Old CSS and JS files”, the files of /wp-content/uploads/dynamic_avia/avia_posts_css get deleted upon saving the changes.
How can we make sure that Enfold respects the “Delete Old CSS and JS files” box?
Thank you,
re. gif format – the images are quite old and I must have mistakenly created them as that rather than jpg; there are only 22 gifs out of over 4000 images on the site, I might get around to changing them.
Thank you for the function but it is the 400px height of the deleted portrait images that I need to target and remove from srcset. Changing $width to $height doesn’t work. $width == 170 does, but I don’t know the widths of all the 400px tall images that I deleted because…
When portrait format images were uploaded originally, Enfold portfolio size image (495x400px) was enabled. The upload process used the Max Height of 400px to create the new portfolio size, so the width was smaller and varied – the leaflet is 170 wide, the domino 239px. The other deleted 400px images would have had multiple widths as the portrait images were all different sizes and aspect ratios. I also know that I’ve got some uploaded images with an original width of 400px so just targeting “400” in srcset isn’t an option, I need to target 400px as image height please.
Hey Thomas,
Thanks for reaching out to us. You will need a purchase code in order to receive updates, so I would recommend that you purchase your own license. Once you have access to the theme files, then please follow this: https://kriesi.at/documentation/enfold/theme-registration/
Best regards,
Rikard
Alexandru ParosuGuest
Hi Support Team,
I am experiencing a persistent problem with the Masonry Gallery (Enfold theme/WordPress block):
Whenever I manually reorder images in the gallery, the change is not saved after updating the page, the frontend still shows the wrong (default) image order.
Steps I have already tried:
1. I updated WordPress and the Enfold theme to the latest versions.
2.I disabled all plugins except Enfold to rule out conflicts.
3.I cleared all cache (WordPress cache plugins, browser cache, and server-side cache).
4.I rebuilt the gallery from scratch and tested in different browsers.
5.I added recommended custom PHP code (avia_gallery_image_order filter and CSS workaround) no effect.
Problem persists:
Regardless of the approach, the images in the Masonry Gallery always display in the theme’s default order, not the manual sorting I applied in the backend. The issue affects new and existing galleries, on updated versions.
Can you please advise if there is a current solution or an ETA for a fix?
Thank you for your help!
ismaels filter (ava_inside_main_menu) is a brilliant idea.
maybe it is easier to use if we insert a social bookmarks shortcode:
then we can use all those benefits of enfold options dialogs – and hover styling etc.
function social_bookmarks_shortcode_inside_main_menu() {
$social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => '');
$social = avia_social_media_icons($social_args, false);
return $social;
}
add_shortcode('social-bookmarks', 'social_bookmarks_shortcode_inside_main_menu');
add_action( 'ava_inside_main_menu', function() {
echo do_shortcode('[social-bookmarks]');
});
Quick css for your setting (left burger – logo – socials )
#top div .logo {
z-index: 101 !important;
}
#top .main_menu,
#top .avia-menu {
width: 100%;
}
#avia-menu #menu-item-search {
position: absolute;
right: 0;
left: auto;
}
#top #wrap_all .av-hamburger-inner {
display:block;
top: 0;
margin-top: 4px;
}
.html_header_top #top #wrap_all .av_logo_right #header_main .logo {
position: relative;
left: 50%;
right: auto;
margin-left: unset;
margin-right: unset;
transform: translateX(-50%);
width: auto;
}
.responsive #top #wrap_all .main_menu {
width: 100%;
display: flex !important;
flex-flow: row nowrap;
justify-content: space-between;
height: inherit;
}
#top #wrap_all .menu-item-avia-special {
display: block ;
}
.responsive #top #wrap_all #header .main_menu ul.social_bookmarks {
display: flex;
}
#top #wrap_all .main_menu ul.social_bookmarks li a {
height: 30px;
}
#top .main_menu .social_bookmarks li {
width:40px;
margin-left:5px
}
#top .main_menu .social_bookmarks li.avia-svg-icon img[is-svg-img="true"],
#top .main_menu .social_bookmarks li.avia-svg-icon svg:first-child {
height:1.1em;
width: auto;
margin-top: 4px !important;
}
@media only screen and (max-width: 767px) {
.responsive #top #wrap_all .container {
width: 95%;
max-width: 95%;
}
.html_header_top #top #wrap_all .av_logo_right #header_main .logo {
max-width: 200px;
transform: translateX(-57%); /* === an individual correction - depends on how many social icons are present=== */
}
}
see : https://elementar.webers-webdesign.de/
PS: for more than 3 social bookmarks it gets complicated on small mobile screens. So maybe in this case we set them to display none – or switch in this case to header meta solution
PPS: i tried first that option to show social icons via Header – Extra Elements – Header Social Icons : “display in main header area”
but this was to complicated to find the right css positioning options – especially on shrinking headers.
Hey lelouxwebdesign,
Thank you for the inquiry.
Try to add this css code to reduce the width of the color section container.
.home #av_section_2 .container {
max-width: 1000px;
}
You may need to replace the selector #av_section_2 with a custom css class or element ID.
— https://kriesi.at/documentation/enfold/add-custom-css/
Best regards,
Ismael
sorry that “Link to: ” comes from Enfold – i thought that you had inserted it to the post title
@Guenni007 – thanks but have a function to remove the image sizes I don’t use. I implemented it when I found out a few months after using Enfold for the first time (years ago…) about the huge number of image sizes it creates, most of which are never used. That is the ultimate cause of my problem here – I’d uploaded images and created pages then discovered I was almost out of disk space, so deleted all sizes I never use. But by then the deleted image sizes had been inserted into srcset, some don’t display as I’ve deleted them, and there is no (apparent) way to change the srcset HTML after it has first been created.
Hi,
Your site is not available, so we cannot view it. If you should need any further help, then please post separate threads for each of them. We’ll close this thread for now, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard
Hi,
Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard
Hi,
Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard
Hi,
Could you try updating the theme to the latest version (7.1.3) to see if that helps please? https://kriesi.at/documentation/enfold/theme-update/.
If you haven’t registered your theme license, then follow this: https://kriesi.at/documentation/enfold/theme-registration/
Best regards,
Rikard
the link comes from enfold itself. You do not need to insert on title input field links.
Hello, WordPress is saying it’s having problems with Enfold. I can no longer edit products, and page editing only started working again after I switched to the default editor in the settings. Products can only be edited from within the website itself.
Regards, Thomas
I can’t update the enfold theme with the token (see private content attached)…
you can see that if there are more than 1 post inside a category – it works:
https://kunst-en-verhalen.rhijnhof.nl/pieta/
what makes me wonder is that on your posts with category: oorlogsslachtoffers (only 1) – there should be no post-navigation. ( Do you have in the page title that p-tag ?)
so maybe Ismael could help you with this inside your installation
PS : the setting on Enfold > Blog Layout > Single Post Navigation setting is not important if you use the filter from : above
With the help of this filter, you can even handle post-types differently.
Hey,
Thank you for the update.
1. Yes, this is the maximum number of columns. If you need more, you can always use the code or text block element to manually create your own html.
2. Please create a test page, open a new thread, and provide the login details in the private field.
3-4. Simply add the [nolink] placeholder in the **Enfold > Footer > Copyright** field.
5. Please open a dedicated thread and provide a screenshot.
6. Make sure caching and compression are off, or temporarily disable the **Enfold > Performance > File Compression** settings.
7. Would you mind providing screenshot of the “stacking columns”? You can use image platforms like imgbb or imgur for the screenshot.
8. It’s possible that there is a heading configuration in the Enfold > Advanced Styling panel, or that they are Special Heading elements with their own configurations.
It usually takes a bit of time to get used to the theme, and you might have missed some options, so we recommend reviewing the documentation. For other inquiries, please open a dedicated thread.
If you would like to proceed with a refund, you may contact ThemeForest.
Thank you.
Best regards,
Ismael
Hi,
Thank you for the inquiry.
Please provide the login details in the private field so we can check this properly. Did you select the Loop post navigation option in Enfold > Blog Layout > Single Post Navigation settings? Looping will not work correctly when same_category is enabled. Try to set the Single Post Navigation to the first option (Enable post navigation).
Best regards,
Ismael
a function like this to remove the image-sizes enfold likes to have:
function remove_enfold_image_sizes() {
// do NOT remove widget size, is used in backend portfolio items!
// remove_image_size('widget');
remove_image_size('square');
remove_image_size('featured');
remove_image_size('featured_large');
remove_image_size('portfolio');
remove_image_size('portfolio_small');
remove_image_size('gallery');
remove_image_size('magazine');
remove_image_size('masonry');
remove_image_size('entry_without_sidebar');
remove_image_size('entry_with_sidebar');
remove_image_size('shop_thumbnail');
remove_image_size('shop_catalog');
remove_image_size('shop_single');
remove_image_size('shop_gallery_thumbnail');
}
add_action('init', 'remove_enfold_image_sizes');
i guess does only influence the calculation of newly uploaded images.
The former uploads are not influenced on that. So these sizes are still in your uploads folder. (have a look by ftp inspection if this is the fact)
the use of Force Regenerate Thumbnails – removes those already calculated image-sizes that are not registered.
Hi Rikard,
Thank you for your reply. It does not really answer my question however I have managed to find the solution with my IT partner.
As for anyone also having this issue…
We needed to update the PHP version on the server first. After that the whole site crashes on PHP errors and than with FTP just rename(or delete if you’re brave enough) the old enfold folder in the wp-content->Theme folder to something like “old-enfold” after that throw in the new enfold folder and the website works again.
-
This reply was modified 3 months, 2 weeks ago by
TasmaniaBV. Reason: spelling mistake throw
Hi,
Thanks for the update, and thanks @guenni007 for helping out. We’ll close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard
Hi,
Great, I’m glad that Ismael could help you out. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard
Hey TasmaniaBV,
The update to 7.1.3 has to be done manually from the version you are running, please refer to my replies in this thread: https://kriesi.at/support/topic/enfold-4-5-theme-update-update-failed-download-failed-a-valid-url-was-not-pro/#post-1021541
You can either update manually via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update, or upload the theme as if it was new under Appearance->Themes->Add New Theme.
If that doesn’t work then please try to delete the whole theme folder, then replace it with the new version. Make sure that you have backups of the site before starting updating.
Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/
Best regards,
Rikard
Hi,
We have a very old version (3.0.6) of the Enfold theme and we need to upgrade our PHP version from 5.6.40 to the neweset version PHP 8.4.
However when we tried we also needed to update the theme which we couldn’t find in our themeforest account so now we have bought the newest version.
I am trying to fix the issues with our IT partner and he tried updating it while running a localhost version on his laptop but he got a lot of errors.
Also as soon as we try to update through FTP we get a never ending stream of error messages for example:
Fatal error: Access level to av_email_spam::shortcode_insert_button() must be public (as in class aviaShortcodeTemplate) in ******\htdocs\*******\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\email_spam.php on line 16
To be smart i thought to just exclude it from the php file just to have it move on to the next 50 similar error messages.
Please let me know how to update the theme. As I found on your forums it was suggested you first needed to update to a version 4.5. or something and that would allow auto updates. However we now only have version 3.0.6. and the newest 7.1.3.
Kind regards
Hi,
Great, I’m glad to hear that. We’ll close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard
btw.: https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/Layout/avf_post_nav_settings.php
with this snippet you do not even need to set the enfold options on post-navigation.
You can set with that filter even to loop:
function my_avf_post_nav_settings( array $settings ){
if( true === $settings['is_hierarchical'] ){
$settings['skip_output'] = true;
return $settings;
}
// the post-types inside the array are allowed to have post-navigation
if( ! in_array( $settings['type'], array( 'post', 'portfolio' ) ) ){
$settings['skip_output'] = true;
return $settings;
}
$settings['loop_post_nav'] = true;
$settings['same_category'] = true;
$settings['is_fullwidth'] = false;
$settings['skip_output'] = false;
return $settings;
}
add_filter( 'avf_post_nav_settings', 'my_avf_post_nav_settings', 10, 1 );
btw. if you set this (is_hierarchical) condition to false – then even pages will have post-navigation
Hi,
Great, I’m glad to hear that everything is working as it should. We’ll close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard