You can put that css inside your page html header or settings/seo script meta in header.
If you are on a paid plan, if not you can place it inside of html element.
I like to put my css into database then call it from html element like this:
Hi @aphz88,
div.Text{
-webkit-touch-callout: none; /* iOS Safari /
-webkit-user-select: none; / Safari /
-khtml-user-select: none; / Konqueror HTML /
-moz-user-select: none; / Old versions of Firefox /
-ms-user-select: none; / Internet Explorer/Edge /
user-select: none; / Non-prefixed version, currently
supported by Chrome, Opera and Firefox */
}
Goto Setting->SEO/Metatags on your appeditor.
Goto section “Script/meta tags in header” add above css.
Note:
Above one for apply to all the text div’s.
if you need to apply this to specific text then enable “Expose the option to add an ID attribute to HTML elements” on Setting->General.
and update css selector to id attribute.
I’m sure this is a terrible idea… But what about a transparent group on top of the text. I know it’s likely going to screw with responsive items, but just a thought.
CSS commands don’t affect children elements. The selection blocking is only applied on the element specified and not to the ones it may contain. In Bubble, a text element is a div but the actual text is inside a child div so it’s out of reach for the user-select rules.
To also affect descendants elements of the one on which you apply the rules, have an “*” to tell the CSS engine (also, include all children!). So this should work:
And using Classify, version 2.0, you would write in the ID field: {addClass: "noselect"}.
Did anyone succeed with this solution, i tried all of the above with no succes, is there anything changed that should be corrected here?
Or should i just try again for the 100. time Thanks a lot, i have tons of long press and scrolls and its really bad on mobile when text selection shows…
I have installed classify and {addClass: “noselect”} to all my elements, does classify need further installation to work?