Home › Forums › Support › How can I put Background color on my H1,H2, H3 Tags? This topic has 5 replies, 3 voices, and was last updated 4 years, 2 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts March 16, 2021 at 12:24 am #1696842 MD Tohidul Dear, I want to add color in the background of my H1, H2, h3 title. Can I do this with GeneratePress theme? Like this site: https://prnt.sc/10n118h March 16, 2021 at 3:26 am #1697038 DavidStaff Customer Support Hi there, you can either use CSS to globally style your headings eg. h2 { background-color: #0693e3; padding: 10px; color: #fff; } But this will apply to all of those elements which you may not want. If you want to selectively apply the colors then you can use the GenerateBlocks plugin, and use the Headline Block which provides padding and color controls. March 21, 2022 at 12:33 pm #2162518 David Hi David How is this done for post pages only? Thanks March 21, 2022 at 1:27 pm #2162560 DavidStaff Customer Support Hi there, you can add the single body class to the CSS like so to only apply it to posts: `.single h2 { background-color: #0693e3; padding: 10px; color: #fff; }’ March 21, 2022 at 1:58 pm #2162603 David Ah .single Awesome, thank you. March 21, 2022 at 2:00 pm #2162605 DavidStaff Customer Support You’re welcome Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In