• Closed
  • Alberto Mahfouz
    Spectator
    June 2, 2017 at 10:36 am #33913

    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.

    Priyank
    Spectator
    Posts: 747
    June 3, 2017 at 9:34 am #33918

    Hello

    Sorry we can’t get idea what is the issue you are facing without check.
    Can you share us your site url in which page you have this issue. Then after we can help you.

    Thank you