ll2pakll
Forum Replies Created
-
It worked when I wrote the JavaScript. Maybe someone could use it.
document.addEventListener('DOMContentLoaded', () => {
// Select all elements
const allElements = document.querySelectorAll('*');
// Define the regex pattern for class names starting with "slider-" followed by a number
const sliderClassPattern = /^slider-\d+$/;
// Loop through each element and check if any class name matches the pattern
allElements.forEach(element => {
element.classList.forEach(className => {
if (sliderClassPattern.test(className)) {
// Set the border-radius property
element.style.borderRadius = '61px';
}
});
});
});Through trial and error, I found the right selector. But this selector allows to select each slider separately, because the class name for each slide includes the slider id number. Is it possible to assign one class to all slides? (Assigning a class in Developer Options doesn’t help, I’ve tried it).
.slider-51 {
border-radius:61px
}I deleted the “ml-slider” folder from the “/autoinstallator/wordpress/wp-content/plugins” folder. And copied there the folder from the archive you sent me. I cleared the image cache in Chrom on my phone. Reloaded the page, but unfortunately nothing changed.
Saturday or Sunday (can’t remember exactly), I installed your plugin for the first time and it worked like this from the beginning.
Perhaps your plugin communicates somehow with the “tmp” folder for temporary files? Just after installation WordPress refused to work normally, until my hosting admin created such a folder in the root directory of the serwer. Maybe this information will help in some way?- This reply was modified 1 year, 11 months ago by ll2pakll.
Hi @htmgarcia
Maybe the problem is in localization, I circled the right item in red. I have it called “Transition Speed”.
The problem affects all slides, not a particular one. All of them work properly on the computer, but on the phone the pictures change very fast.