upssjw
(Steve W)
1 August 2024 14:12
1
must be doing something wrong, copied from manual but doesn’t divide the areas as I expect
see example lots of custom stuff , went a bit over the top
also with the slider is there a way of changing the increments of 1 to another number
update link forgot to turn main container background on
https://www.dropbox.com/scl/fo/9t3kykn53r9m8x0lnrgvp/AFI5ft1DUWbXfvlnIWSCxe4?rlkey=d4hd7rwy6rs340b380rqwuwij&st=r969pfev&dl=0
dan
(Dan C.)
1 August 2024 19:09
2
I don’t think so, and I’m not sure of the use case for this…
Here’s a code sample that displays two groups in the properties file:
{
"groups": [{
"title" : "Group 1",
"properties" : [{
"title": "Title",
"property": "title",
"text": {}
}]
},
{
"title" : "Group 2",
"properties" : [
{
"title": "Image",
"property": "image",
"image": {}
},
]
}
]
}
And it looks like this in Elements…
Hope that helps!
upssjw
(Steve W)
1 August 2024 20:48
3
Dan that’s what I tried before not sure it works with all the properties I have, trying to group into sections, still might not be understanding
I was able to group multiple images that was about it
upssjw
(Steve W)
1 August 2024 20:55
4
creating my own pixel control area in Elements, brilliant program / app, added a couple more, except image bug in preview
https://www.dropbox.com/scl/fo/9t3kykn53r9m8x0lnrgvp/AFI5ft1DUWbXfvlnIWSCxe4?rlkey=d4hd7rwy6rs340b380rqwuwij&st=nntsod7b&dl=0
upssjw
(Steve W)
1 August 2024 21:16
5
Reason for larger increments, example z index in tailwind is in 10s or their website shows this
bon
(Bon)
2 August 2024 12:18
6
We support an items
array in sliders so you could do this:
{
"title": "Z Index",
"id": "zIndex",
"format": "z-{{value}}",
"slider": {
"default": "0",
"items": [
{
"value": "0",
"title": "0"
},
{
"value": "10",
"title": "10"
},
{
"value": "20",
"title": "20"
},
{
"value": "30",
"title": "30"
},
{
"value": "40",
"title": "40"
},
{
"value": "50",
"title": "50"
}
]
}
},
2 Likes
dan
(Dan C.)
2 August 2024 18:37
8
Ah, forgot about this Have added it to the dev docs
1 Like
upssjw
(Steve W)
3 August 2024 09:15
9
Dan finally worked out groups in custom HTML, using your example
Also played a bit more with sections containers etc, get the layered approach, kind of just understanding where you want to target, might be the built in drop in sections you could be able to see the layout but only edit as is, might help when you first use Elements
1 Like
dan
(Dan C.)
3 August 2024 10:19
10
Looking good, it gets very addictive building custom components
upssjw
(Steve W)
3 August 2024 18:48
11
updated with groups and the z-index increments of ten,
https://www.dropbox.com/scl/fo/9t3kykn53r9m8x0lnrgvp/AFI5ft1DUWbXfvlnIWSCxe4?rlkey=d4hd7rwy6rs340b380rqwuwij&st=wl3ul1lt&dl=0
1 Like