Click area of ​​slide arrow is wider than icon
P粉195200437
P粉195200437 2023-09-13 19:29:50
0
1
533

On my WordPress development website, I have a slideshow feature for galleries. When you click on a picture, it starts a slideshow. My problem is my two white arrows, one on the left and one on the right. The clickable area of ​​the arrow is wider than the size of the icon. See pictures below.

The clickable area is wider than the icon

This is the URL of my development website

I tried to include my code in this question but I was told "Your question appears to be spam".

The CSS file is "https://dev.francisbegin.ca/wp-content/plugins/gallery-lightbox-slider/css/photobox/photobox.css?ver=1.0.0.39"

The HTML played is at the bottom, before the body is closed. The ID of the containing div is "pbOverlay".

Any help would be greatly appreciated. I am new to stackoverflow, please tell me if my question is inappropriate.

P粉195200437
P粉195200437

reply all(1)
P粉863295057

This is most likely caused by the kerning setting of the font used by the icon. Each character has some space around it to prevent it from colliding with other characters. In the case of 18em, this space is more obvious than in other cases.

If you want to eliminate this space, you may consider using SVG or other images to replace the current text content. However, there’s nothing wrong with giving users some extra space to click.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!