-
Closed
-
I want to be able to put a background color for my header text only including padding so that I can put an image in the background. I’ve achieved something using this css:
.entry-content h2 {
color: #405362;
display: inline-block;
background-color: rgba(19,143,191,0.50);
padding-left: 10px;
padding-right: 10px;
}but the text becomes all one line when I’ve used two header text. I want to be able to keep separate lines. I also want the gap between the two lines to be slightly tiny but enough to show they are separate lines.
The topic Highlight text is closed to new replies