upssjw
(Steve W)
August 1, 2024, 2:12pm
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)
August 1, 2024, 7:09pm
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)
August 1, 2024, 8:48pm
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)
August 1, 2024, 8:55pm
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)
August 1, 2024, 9:16pm
5
Reason for larger increments, example z index in tailwind is in 10s or their website shows this
ben
(Ben)
August 2, 2024, 12:18pm
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"
}
]
}
},
dan
(Dan)
August 2, 2024, 6:37pm
8
Ah, forgot about this Have added it to the dev docs
upssjw
(Steve W)
August 3, 2024, 9:15am
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
dan
(Dan)
August 3, 2024, 10:19am
10
Looking good, it gets very addictive building custom components
upssjw
(Steve W)
August 3, 2024, 6:48pm
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