rob0m
Forum Replies Created
-
Forum: Plugins
In reply to: [Share This Image] share button not working on mobileadding this css seemed to work:
.sti.sti-top.sti-mobile.style-flat-small { z-index: 9999999999; }This seems to work for Jetpack Carousel Lightbox. The CSS was added in Additional CSS in Appearance/Customise in WordPress core.
- This reply was modified 2 years, 3 months ago by rob0m.
Forum: Plugins
In reply to: [Share This Image] share button not working on mobileDigging around Inspecting elements, I’ve tracked down these (I think) CSS Selectors – div#sti-box-s–1781594338.sti.sti-top.sti-mobile.style-flat-small –
Changing the z-index to 9999999999 for example, makes it visible again. It seems the Jetpack Carousel overlay is quite high z-index (which is: 2147483647) so anything over that number makes the sti sharebox visible again.
While it is possible to change the z-index for STI (Share this Image), it seems not to apply to the share box itself, after it has been clicked.Am not entirely sure about the CSS Selector I’ve labelled above but it is something like that, which appears near the end of the DOM.
This is just messing with Inspect Elements and so my findings so far. Will have to find a way to lock that in the CSS somehow.
Forum: Plugins
In reply to: [Share This Image] share button not working on mobileYes, I get the same. It works on gallery level and disappears in Lightbox (Jetpack Carousel) as illustrated here – https://ibb.co/GvRBL30
Desktop works fine.
I’ve tried putting the z-index right up to like 99999, but makes no difference when pressed, all icons disasppear.Same as this thread
https://ww.wp.xz.cn/support/topic/buttons-not-show-on-mobile/- This reply was modified 2 years, 3 months ago by rob0m.
Hi Kasia,
Sorry just got back round to getting my head around this again.
On testing, I find that adding an ‘onclick=’ to an HTML button tag gets stripped.
So:
<button onclick="changeSubject()">Click</button>
becomes
<button>Click</button>
after saving it as an HTML field in Forminator.So even if I have a function in the html, the ‘onclick’ will not be there to call it.
Though, when I copy a sample of script from here:
https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onclick<button onclick="myFunction()">Click me</button> <p id="demo"></p> <script> function myFunction() { document.getElementById("demo").innerHTML = "Hello World"; } </script>It works – but the ‘onclick=’ has still been stripped.
So it becomes
<button>Click me</button>
But weirdly, it still works.
But adding my own buttons and ‘onclick=’ doesn’t seem to work.Don’t understand this stripping behaviour. Is this Forminator?
Much Thanks
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Show / Display list of Users by roleHi Scott and Jim
Sorry for even later reply. Just to update really I had a little battle with Scotts guidance but still did not get it to work. I tried over a few days so lost track of what I did. Will post back if I revisit don’t find an alternative. As least for the sake of community learning. Thank you. Apologies again.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Show / Display list of Users by roleActually, on reflection, it’s clear that I am confused. The 4th link is not the closest. It’s really a User Query I think I want.
Essentially, in English is:
-> list the names of all users with these roles.
Can anyone translate that into Pod please?
I was thinking I could use it in Elementor then with the pod widget.
Thanks
Yes, am wondering the same. Don’t know if we’ll get any replies here but…
I’ve downloaded Event Mgr and Full Calendar to get CPTs in a calendar. But I can’t even see how to CHOOSE the start and end dates of a CPT – other than the publish date. Think I’m missing something too!There are a number of conversations about how to fiddle with with using code – such as https://ww.wp.xz.cn/support/topic/advanced-custom-fields-11/?replies=9
but it would be great to achieve this without all the $_ {{[($}}! code