Tagged: colorsection, WebP
-
AuthorPosts
-
August 17, 2021 at 4:34 pm #1317182
Theme: Enfold
Version: 4.8.6.1
Installed: enfold
AviaFramework Version: 5.0
AviaBuilder Version: 4.8
aviaElementManager Version: 1.0.1
– – – – – – – – – – –
ChildTheme: Enfold Child
ChildTheme Version: 1.0
ChildTheme Installed: enfoldML:1024-PU:121-PLA:16
WP:5.8
Compress: CSS:disabled – JS:disabled
Updates: enabled – token has changed and not verified
PLAu:15Using a Color Section and a WebP image for the Background Image. When I edit the settings of the Color Section, the WebP background image has disappeared. A JPEG image is fine and can be seen when editing the background image.
What is the problem please?
Thank you and best wishes.
August 17, 2021 at 4:53 pm #1317184i hope that they will soon add these additonal image formats:
https://kriesi.at/support/topic/svg-support-3/#post-1317155August 18, 2021 at 9:10 am #1317301Hi,
Thank you for using Enfold.
As suggested by @Guenni007 we added svg and webp to filter list.
Please replace
enfold\config-templatebuilder\avia-template-builder\php\class-html-helper.php
with the content of
– Do not forget to make a backup of the original file for a fallback
– Clear server and browser cacheIf you need help please let us know and we can do it for you.
Best regards,
GünterAugust 18, 2021 at 9:25 am #1317305Hi Günter – thanks
August 18, 2021 at 10:39 am #1317315August 18, 2021 at 12:23 pm #1317325Many thanks for the help @guenni007 @Günter.
File FTP’ed with no problem. Logged into the WP Dashboard, edited the page to use the WebP image, saved and re-edited the page and the image is still in place.
The main issue is that the image displays on Windows 10 but not on Android or IOS? I thought WP automatically created backwards compatibility with a JPEG version?
Thanks again.
August 19, 2021 at 11:17 am #1317470Hi,
Did you read https://make.wordpress.org/core/2021/06/07/wordpress-5-8-adds-webp-support/ chapter “Using WebP images”
Seems not all browsers support webp yet.
There is a polyfill to load: https://github.com/chase-moskal/webp-hero
Best regards,
GünterAugust 19, 2021 at 12:08 pm #1317475Hello and thank you @Günter for your advice.
Imagify supports JPEG fallback, but adds extra HTML. I’ll stick with JPEG for the time being.
Best wishes and the ticket can be closed, many thanks.
August 19, 2021 at 1:30 pm #1317487 -
AuthorPosts
- The topic ‘Disappearing WebP Image as ColorSection Background Image?’ is closed to new replies.