-
Afonso Alves
Good morning everything is fine?
Can you help me create this relief with a color in my layout? I’m having trouble replicating this effect.
Desired effect: https://prnt.sc/IJxMfMpDSMsD
How it is currently: https://prnt.sc/4eBtFhN4UAiY
I wait
-
Hi there,
1. add this CSS to your site:
.has-fancy-border { position: relative; } .has-fancy-border:after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background-color: #f00; }
2. edit the Headline block you want to apply the effect to, and in Advanced > Additional CSS Classes add:
has-fancy-border
-
Afonso Alves
Is there any way to do this without needing to add additional CSS code?
In order to minimize the impact on site speed.
-
No. And if there were a different method it would be using CSS too.
And adding that amount of CSS will have no effect on your site speed. -
Afonso Alves
It worked thanks 🙂
-
Glad to hear that
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.