Padding with custom class

Hi. My english is very limited, sorry.
The Bootstrap “px-x” class (x from 0 to 5) works for me inside a column. But if I delete that class and replace it with a custom class with a different padding for breakpoints it doesn’t work for me, no padding appears.
Can you help me?