Hi, im trying to make an semi transparent black box behind text to make the text more readable, the question is - How do I fill the spaces between the p’s, This is the code i added for the box:
p {
position: relative;
top: 12px;
background: #000000;
}
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
Thank you very much sir it worked! One quick question, how can i make the background transparent, i tried adding opacity: 40% and its making the text transparent too…