- This topic has 5 replies, 2 voices, and was last updated 3 weeks ago by Leo.
December 30, 2019 at 10:19 am #1117693Longinos
The back-to-top distance is hardcoded in
all.min.csswith the css property
I know this can be achieved with aditional css, but this is adding other layer to the onion.
Now, much of the social sharing buttons plugins are setting the buttons bar at the bottom of the screen when in mobile, each plugin had their own height and, in the most cases, they are covering the back-to-top button.
This can be avoided making the bottom and rigth css properties selectable in customizer (in px or %) and then don´t need to add aditional css.
Ah! and Happy New Year….December 30, 2019 at 4:34 pm #1117943TomLead DeveloperLead DeveloperJune 12, 2020 at 5:54 am #1324919Longinos
If I don´t resolve this then I can´t make a new ticket. So I will this open as a reminder and make the new feature request here.
Now Google Insigth has a new metric called Cumulative Layout Shift (CLS) that relies in changes in the layout of the rendered page when a element changes in the viewport.
Whit lazyloaded images this occurs, and the solution is to put sizes in the parent div container of the image, so the space is “reserved” to the real image when is loaded.
But the parent div cointainer may not know what the image size is, so we need a catch-all size. This may be acomplised with a
width: fit-contentcss property.
For example, you can view it here: https://intersindicalrm.org/spublicos/jornada-laboral-especial-112/ in the
<div class="featured-image page-header-image-single ">I have added the css property with a function in the functions.php of the child theme.June 12, 2020 at 9:42 am #1325327LeoStaffCustomer SupportJune 12, 2020 at 10:14 am #1325368Longinos
I have opened a new issue.June 12, 2020 at 12:34 pm #1325520
- You must be logged in to reply to this topic.