This is my code, I can't get that to return the value from the slider.
<div class="slides">
{% stylesheet %}
.bg {
opacity: {{ block.settings.opacity }} ;
}
{% endstylesheet %}
{% for block in section.blocks %}
This is .liquid file and the html for the .bg class is in the same file.
{
"type": "range",
"id": "opacity",
"min": 0,
"max": 100,
"step": 1,
"label": "Opacity",
"default": 50
},
How do I get this to work?