Page 1 of 1

white area in yootheme aria-hidden="true"

Posted: 08 Jul 2022, 15:17
by vipwebdesign
Hi

In the photobook i have a white area at the top of the component https://incidentencity.nl/fotoboek

This is comming from the code <svg aria-hidden="true" class="ph-sr-only" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">

Where can i disable this?

Regards

Re: white area in yootheme aria-hidden="true"

Posted: 08 Jul 2022, 18:02
by Benno
Hi,
https://incidentencity.nl/templates/yoo ... 1657204003

Add:

Code: Select all

svg:not(:root) {
    display: none;
}
Or copy this code to custom.css or user.css of your template.

Kind regards,
Benno

Re: white area in yootheme aria-hidden="true"

Posted: 09 Jul 2022, 16:50
by vipwebdesign
Thanks Benno thats is working.

Second part. All of the svg icons in the template are gone.
Thats correct because the code you give dind't display

Is this edit in the sourcecode from gallery and where? Hopefully you know it.

Regards

Re: white area in yootheme aria-hidden="true"

Posted: 09 Jul 2022, 19:41
by Benno
Hi,
Is this edit in the sourcecode from gallery and where? Hopefully you know it.
Sorry, I don't know it. :(
If you are not satisfied with the result, remove the above code again and try to contact the Yootheme developers and ask them why their template behaves differently than the Joomla! standard templates. (Protostar for J3x and Cassiopeia for J4x).

Kind regards,
Benno