Forum Discussion

Dennis_M's avatar
Dennis_M
Cloud Apps
05-03-2022
Solved

Blox - Container Format (Remove White Field Space Below Container)

I am using a BloX container as a title.  I have white space below the container (see picture).  "spacing": {"padding":0} in Configuration.   

BloX script below.  Is there a tip to remove the white field space below the container?
{
"style": "",
"script": "",
"title": "",
"titleStyle": [
{
"display": "none"
}
],
"showCarousel": false,
"body": [
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "Retail Sales",
"style": {
"backgroundColor": "#50a8ad",
"text-align": "center",
"font-weight": "bold",
"font-size": "24px",
"margin": "0px"
}
}
]
}
],
"actions": []
}

 

4 Replies

Replies have been turned off for this discussion
    • Dennis_M's avatar
      Dennis_M
      Cloud Apps

      Thank you Ophir for your quick response. I was able to change the height as you pictured, but I cannot make it "stick" when I refresh the page.  Do I need to add the entire element code as a widget script? - D

      • remedyone's avatar
        remedyone
        Data Storage

        I'm working on the same issue and wondering how you got it to stick. Also wondering where this code was implemented. Is this a script for the Blox widget? I'm not sure where to find the widget DOM object.

  • jmn3's avatar
    jmn3
    Cloud Apps

    I am having a similar issue and cannot make the change stick.