Can't change element padding to default

After experimenting with padding for an element in a form and subsequently changing my mind, I find I can’t change it back to default. I think this happens outside forms too. Looks like a bug, but possibly I’m not doing it correctly. You can select “default” from the padding dropdown, but it just gets ignored.

Possibly would be less irritating if I knew what the default was in the first place, in which case I could explicitly set it to the default value.

Any suggestion welcome.

Thanks Steve

Hey Steven,

In case you like us to help, please give us more information :slight_smile:

🔷 Guidelines - Ask your question the right way – and get the best answer faster!

Hey @Stephen_Pattinson,
You can see what “Default” actually means by using Inspect Element in your browser — open the page, inspect the element, and check the Computed panel to see the exact padding values the theme applies.

If you want to see where that’s defined, open Code → Global → Boilerplate in Sitejet and search for variables like $spacer or $section-padding. Those hold the “default” spacing values that the UI refers to.

Also note that when you manually change padding, Sitejet writes it inline (style="padding:..."). Even if you pick “Default” again, it won’t override that inline value — you have to clear or reset the field to truly go back to the default.

Hope that clarifies it :+1:

Thanks Kalisperakichris,

That is very illuminating and helpful and explains. I think it would be helpful if selecting “default” did exactly that, but I now have greater understanding of what’s “under the hood”. Only thing I don’t understand is how you clear or reset the field. Many thanks.

1 Like

Hi Andre,

I’m probably ok now given the reply by Kalisperakichris. Only thing I would say that if the dialog boxes allow you to select default padding or margin (which they do), they should do exactly that.

Thanks Steve

1 Like

Hey Stephen,

It does. It could either be a bug or anything else which we will not find out now :slight_smile: Maybe next time.