As I work with the Divi Theme from Elegant Themes, I am attempting to add a gradient behind the text in my full-width slider module. However, I am encountering an issue where the gradient does not align properly starting from the left side of the image.
When I include the gradient in my code, it seems to affect the position of the text as well. Can anyone provide assistance in resolving this problem? Below is the code snippet that I have been using:
<div style="padding: 0px;">
<strong> </strong>
<span style="color: #ffffff;">
<strong>
<span style="font-family: 'Times New Roman'; font-size: 54px; background: rgba(0, 0, 0, 0.5); padding-left: 20px; padding-right: 20px; padding-top: 20px; padding-bottom: 75px;">
The Tire Experts
</span>
</strong>
</span>
</div>