bycrawford Posted November 14 Share Posted November 14 Hey guys, how would I go about adding a solid block of colour to a blog post header, roughly 25vh, with the title sat in the middle? Attached is a pic of how I'd like it to look. Usually for this, I'd use Will Myers' blog post header plugin, but this colour needs to be on all blog posts whilst being able to have a separate thumbnail image. Site: https://echidna-trout-5mcr.squarespace.com/mission-blog/blog-post-title-one-rgamz password = pass Sam Crawford | by Crawford. Multi-award-winning Squarespace expert e. sam@bycrawford.com w. bycrawford.com 💸 Speedrun your first $100k as a Squarespace designer: sixfiguredesign.club📱 Hire me to build your Squarespace website: calendly.com/bycrawford/call Did my comment help? To help others benefit, leave a like and mark my answer as 'best'. This lets users scroll straight to the solution they need. Link to comment
Ziggy Posted November 14 Share Posted November 14 If you use Will's plugin and set the overlay to a solid colour and 25vh it should look like your mockup. It of course would be best not to load the image at the top, but I'm sure that would be possible for loading time. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
tuanphan Posted November 18 Share Posted November 18 You can also add this code to Last Line in Code Injection > Footer <script> $(document).ready(function(){ $('<h1 class="custom-blog-heading">Mission Blog</h1>').insertBefore('div.blog-item-wrapper.blog-basic-grid-item-wrapper'); }); </script> <style> h1.custom-blog-heading { text-align: center; background-color: #bbccc4; height: 25vh; margin: 0 !important; } [class*="type-blog"].view-item header#header { background-color: #bbccc4 !important; }</style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment