How to move a button [PRO]

Hi guys, i would like to know what css class do i need to use to handle a button’s margin or padding?

i thought it was .x-anchor or even .x-anchor-button but if i try to handle it with either one of those tags (or a combination of both), the results are always the same: the button doesn’t move.

you could check the header of the dev site i’m working on and see for yourself what’s going on.

thanks in advance for the help,

Hi There,

See this guide on available helper classes. See this: https://screencast-o-matic.com/watch/cbQ2fiIoWU. Depending on elements, some elements/ html tag have default margins and paddings.

Hope this helps.

i thought there was a way that didn’t involve padding or margin but now that i think about it, it makes sense that there isn’t another way. hehe.

Hi There,

There is another way with the Flexbox control.

If it is only the button, then yes you can only move it with margin, put an auto margin-left and it will move to right, put an auto margin-right and it will move to left. Put an auto on both sides and it will be centered.

Cheers!

it’s the only button, yes, but what settings should there be in the flex settings? i suppose those settings will greatly influence what the auto setting will do, right?

Hi There,

Where do you want it to move? See this on how to center or move it to the left: https://screencast-o-matic.com/watch/cb6nXbI4FY
Since that button is on the same container with other elements, it will be affected too.

that really helped! thank you very much!

Glad to hear it, Cheers!