AFKSTue Posted September 7, 2023 Share Posted September 7, 2023 How can I make "Heading 3" on my web page allways have such a prefixed bar like the green one before "Independent" in the picture? I assume this is doable with code, but don't know how. Thanks in advance. Link to comment
AFKSTue Posted September 9, 2023 Author Share Posted September 9, 2023 I found out, this element is called "border", so I tried to give h3 the property border-left like this: <style> .h3 { border-left: 10px solid #55A932; } </style> Any idea, why this didn't work? Website is: copper-minnow-p73t.squarespace.com Password is: hello Link to comment
Solution AFKSTue Posted September 9, 2023 Author Solution Share Posted September 9, 2023 I solved the problem. The code has to be in "Custom CSS" and it has to be without the . before h3. h3 { padding-left: 15px; border-left: 10px solid #55A932; } tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment