Home › Forums › Support › Category Box and Background Color This topic has 8 replies, 3 voices, and was last updated 6 months, 3 weeks ago by David. Viewing 9 posts - 1 through 9 (of 9 total) Author Posts August 26, 2022 at 10:36 am #2324909 Rohith Hi there, how to add a box and background color to the entire category page’s heading and description? August 26, 2022 at 11:32 am #2324979 YingStaff Customer Support Hi Rohith, Try this CSS: .archive.category header.page-header { background-color: blue; padding: 20px; } August 26, 2022 at 12:33 pm #2325030 Rohith Hi there, Is it possible to create something like this? https://postimg.cc/rKBXV77n August 26, 2022 at 1:00 pm #2325045 YingStaff Customer Support Try change the CSS to: .archive.category header.page-header .page-title { border-bottom: 5px solid grey; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; } .archive.category header.page-header { background-color: #ededed; padding: 20px; border-radius: 10px; border: 5px solid grey; } August 26, 2022 at 1:02 pm #2325046 Rohith It worked but how to change the Category heading size in mobile? August 26, 2022 at 1:26 pm #2325057 YingStaff Customer Support The setting is at customizer > typography > Heading 1 (H1), click the mobile icon, and you will be able to set its font size for mobile. August 26, 2022 at 3:10 pm #2325126 Rohith 1. If I Increase it then it is going to change every H1 Tag in the site. So, please provide some css only for H1 Size in Category and in mobile 2. Is it possible to change only the background color of the Category name (Check PVT) August 27, 2022 at 1:27 am #2325293 Rohith Hello Anyone please reply? August 27, 2022 at 4:45 am #2325386 DavidStaff Customer Support Hi there, remove the CSS you have so far. And add this: .archive.category header.page-header .page-title { padding: 20px; border: 1px solid #222; background-color: #222; color: #fff; margin-bottom: 0; } .archive.category header.page-header .taxonomy-description { padding: 20px; border: 1px solid #222; background-color: #efefef; } @media(max-width: 768px) { .archive.category header.page-header .page-title { font-size: 27px } } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 9 posts - 1 through 9 (of 9 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In