I try to get the same kind of arrow-down seprator as on the first section on the demo page here: https://theme.co/x/
Thank you already for your kind help.
I try to get the same kind of arrow-down seprator as on the first section on the demo page here: https://theme.co/x/
Thank you already for your kind help.
Hi there,
This could be added through a custom CSS.
Please add a class to the section where you want this to be added then add this CSS in the custom CSS (assuming the class you added is the-section):
.the-section {
position: relative;
}
.the-section:before {
content: "";
display: block;
position: absolute;
top: 0;
left: 50%;
width: 0;
height: 0;
margin-left: -25px;
border-width: 25px;
border-style: solid;
border-color: #dbdbdb transparent transparent;
}
In case this doesn’t work, kindly provide the URL of your site so that we can check it.
Thank you.
Great! I almost got it. The only thing which does not work is the border around the triangle.
See here on my test-page (3rd section) https://gentlemen.zoom3.ch
I used the following CSS:
.the-section:before{
content: “”;
display: block;
position: absolute;
top: -1px;
left: 50%;
width: 0;
height: 0;
margin-left: -25px;
border-width: 25px;
border-style: solid;
border-color: #fff transparent transparent;
}
Hello There,
Thanks for updating in! Sorry if the code did not work out. It lacks another block.Please have it updated and make use of this code:
.the-section:before {
content: "";
display: block;
position: absolute;
top: 0;
left: 50%;
width: 0;
height: 0;
margin-left: -25px;
border-width: 25px;
border-style: solid;
border-color: #e5e5e5 transparent transparent;
}
.the-section::after {
content: "";
display: block;
position: absolute;
top: -2px;
left: 50%;
width: 0;
height: 0;
margin-left: -25px;
border-width: 25px;
border-style: solid;
border-color: #fff transparent transparent;
}
Please let us know how it goes.
perfect, now it works! Thx alot
You’re most welcome.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.