Hello! I cannot share the site I am on but I can share a snippet of an issue I am having. I am trying to put a cool block background behind some text as a text style but it always goes full width. I don't want this to span the full width of the page. Putting a spacer on each side becomes problematic when scaling the page. Does anyone have any code?
What I used is below:
// Type Style Purple //
#block-b3b375abb1ec025926c0 {
background: #c40aff;
padding: .2rem, .2rem, .2rem, .2rem;
max-width: 200px;
}
// Type Style Purple //
It's also not centered properly. Any help would be great!