Hi Guys,
I have just visited a website which was using a Code block and prism.js for showing code block. The site is using Generatepress.
I have provided a sample blog post of the site where the code block is being used.
Code Block contains a Title. How to add a title to the code block.
When i checked it in the site’s CSS its using something like below. How can i apply the same to my site please.
.prism-titlename {
margin: -16px -16px 24px -16px;
padding: 4px 16px;
font-weight: bold;
color: #333;
background-color: #eee;
}