This text needs to be centered and the background color width should cover the entire screen. Unfortunately, I couldn't find a solution for it here.
.carousel-content {
text-align: center;
bottom: 0px;
opacity: 0.8;
display: inline-block;
border: none;
text-transform: uppercase;
position: absolute
}
.carousel-content span{
text-shadow: 0 1px 2px rgba(0,0,0,.6);
color: #fff;
background-color: #c52d2f;
background-size: cover !important;
width: 100%;
padding: 10px;
text-shadow: 1px 0px 1px #000;
}
#span1{
font-style: italic;
font-size: 35px;
white-space: nowrap;
}
<div class="main carousel-inner">
<div class="item active">
<%= image_tag "limo1.jpeg"%>
<div class="carousel-content">
<p><span id="span1" class="animated bounceInLeft delay-1s"> NEED A LIMOUSINE? Call OR Text: <a href="tel:+1-604-374-7474">(604) 374 7474</a> </span></p>
</div>
The
<%= image_tag "limo1.jpeg" %>
part is specific to Ruby on Rails and not relevant to this particular issue.