Home › Forums › Support › title background in colors with full width This topic has 8 replies, 2 voices, and was last updated 7 months ago by Leo. Viewing 9 posts - 1 through 9 (of 9 total) Author Posts August 24, 2022 at 11:17 am #2322719 José Ojeda Hello, I need the background of the title of each page to be in color. And make it full width. I attach an example https://drive.google.com/drive/folders/1jlo8eYWTIJps4tb0WlQ8jFgRUQihEZtq?usp=sharing Thank you. August 24, 2022 at 11:19 am #2322722 LeoStaff Customer Support Hi there, The best solution would be to create a block element page hero: https://docs.generatepress.com/article/block-element-page-hero/ Let me know if this helps 🙂 Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ August 24, 2022 at 11:30 am #2322737 José Ojeda could you do it with CSS code? August 24, 2022 at 11:36 am #2322742 José Ojeda I have this CSS code that works for me but I don’t know how to give the full width .entry-title { margin-bottom: 0; background: linear-gradient(to right, #5abde7 0%, #7372b3 100%); padding-left: 20px; } attached image of how it looks https://drive.google.com/drive/folders/1jlo8eYWTIJps4tb0WlQ8jFgRUQihEZtq?usp=sharing August 24, 2022 at 11:47 am #2322756 LeoStaff Customer Support It’s not possible with CSS code unfortunately. The block element page hero I introduced above is meant for a request like this. Can you give it a shot? Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ August 24, 2022 at 11:49 am #2322758 José Ojeda unfortunately I work with WPBakery (visual composer) I don’t work with wordpress block editor. August 24, 2022 at 12:18 pm #2322785 LeoStaff Customer Support In that case the title should be coming from WPBakery as well. I can check if you can link me to the page in question. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ August 24, 2022 at 12:21 pm #2322788 José Ojeda I already solved it using code: .page-hero { background: linear-gradient(to right, #5abde7 0%, #7372b3 100%); font-size: 28px; padding: 30px; color: #ffffff; } and creating the HERO page with {{post_title}} Thank you. August 24, 2022 at 12:41 pm #2322809 LeoStaff Customer Support Glad to hear. 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