marketmaker Posted July 12 Share Posted July 12 .header-nav:before { content: "25% Off Your First Clean--Use Code NEW25 at Checkout"; display: inline-block; white-space: nowrap; position: relative; top: -10px; left: 50%; transform: translateX(-50%); font-size: 45px; color: pink; } This appears on Desktop version, how do I make it appear on mobile? Website is royalcleanse.co Link to comment
Solution tuanphan Posted July 15 Solution Share Posted July 15 Use this code for mobile .header-display-mobile .header-title-nav-wrapper:before { content: "25% Off Your First Clean--Use Code NEW25 at Checkout"; display: inline-block; font-size: 20px; color: pink; position: absolute; top: 0; text-align: center; background-color: rgba(255,172,172,.2); } 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