I'm trying to make the background of the heading match the size of the text. Right now it's displaying the entire width of the column.
Please see screenshot: https://prnt.sc/xlvkr9
It needs to look like this: https://prnt.sc/xlvlmq
Code I've added:
.elementor-23 .elementor-element.elementor-element-3df1a3a .elementor-slide-heading {
font-family: "Jost", Sans-serif;
font-size: 22px;
font-weight: 700;
text-transform: uppercase;
background: #000;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 10px;
border-radius: 10px;
Not sure if I'm missing anything.
question from:
https://stackoverflow.com/questions/65886153/css-background-not-right-size 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…