Home › Forums › Support › How to add line below every heading of H2 level This topic has 6 replies, 2 voices, and was last updated 4 years, 1 month ago by David. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts May 1, 2019 at 4:39 am #885351 BILAL How to add line below heading H3 level like shown in this website https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/ May 1, 2019 at 4:50 am #885366 DavidStaff Customer Support Hi there, try this CSS – not sure if you wanted H2 or H3 .entry-content h2:before { content: ''; width: 100%; height: 3px; position: absolute; top: 100%; left: 0; background-color: #f5f5f5; } .entry-content h2:after { content: ''; width: 10%; height: 3px; position: absolute; top: 100%; left: 0; background-color: #2f4468; } May 1, 2019 at 4:53 am #885370 BILAL I want to add line after every heading except main heading of blog May 1, 2019 at 4:55 am #885373 BILAL its not working May 1, 2019 at 4:58 am #885377 BILAL I want line like this May 1, 2019 at 4:58 am #885379 BILAL May 1, 2019 at 4:59 am #885380 DavidStaff Customer Support Can you provide me a link to your site. You can edit your original topic and use the Site URL field to share it privately. Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In