Hello, I have a problem with Google Lighthouse. I am using Slide Show Type carousel and have enabled navigation (Enable navigation buttons). Now I get a message from Lighthouse that the image elements do not have an explicit width and height ---> /images/carousel_back.png
Can you help me?
no explicit width and height Slide Show/carousel
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
-
-
- Posts: 47
- Joined: Tue Jul 20, 2021 10:50 am
Re: no explicit width and height Slide Show/carousel
The image carousel currently does not have an option to include the width/height for navigation buttons.
I will add this to my todo list for a future update.
I will add this to my todo list for a future update.
Re: no explicit width and height Slide Show/carousel
You could add a small amount of css to an html object (Type - Between <head></head>tags) and specify the size.
In this example indexSlideShow1_next and indexSlideShow1_back are the div id's for the buttons. You will need to change these to your button id's. Don't remove the # and leave a space between the id and img. The width and height are what the div sizes are currently. To check its working change the 30px to say 60px and preview.
Joe
Code: Select all
<style>
#indexSlideShow1_next img, #indexSlideShow1_back img{
width: 30px ;
height: 30px ;
}
</style>
Joe
If it wasn't for bad luck, I'd have no luck at all.
-
-
- Posts: 47
- Joined: Tue Jul 20, 2021 10:50 am
Re: no explicit width and height Slide Show/carousel
Thank you very much
Re: no explicit width and height Slide Show/carousel
Thanks for the feedback
If it wasn't for bad luck, I'd have no luck at all.