dear generatepress support team
i want to know how can i create a post in generatepress like below link post
specially the table of content and long underline below h1/h2/… etc. plaese guide me post
Listen i want to manually create table of content ,
i have 2 query
first- below is my HTML code and CSS code. i want to give anchor link to cofee/tea/milk but when i fetch html from guttenberg i am not able to give anchor link to my content of table.
2nd: i want round rectangle corner shady background like above link in post
here is link of my code https://codepen.io/minoshw-the-pen/pen/PoJRxpB , help me to put shady round rectangle background and anchor link in it.
HTML CODE
Coffee
Tea
Milk
here is CSS CODE
ol li::before {
top: 1em;
display: inline-block;
width: 20px;
height: 20px;
margin-top: -10px;
margin-right: 10px;
font-size: 16px;
line-height: 20px;
color: #fff;
background-color: #28BEFF;
border-radius: 100%;
content: counter(li);
counter-increment: li;
text-align: center;
}
ol {
counter-reset: li;
}
ol li {
position: relative;
padding: 0 0 10px 10px;
line-height: 1.6;
list-style: none;
}