ProfessorSeagull Posted December 25, 2020 Share Posted December 25, 2020 (edited) Site URL: https://www.sfsmartshop.com Hey guys I am trying to add a text block above my products on my shop page. I have this starter code: <style> div#content:before { content: "Tuan Phan"; display: block; text-align: center; font-family: monospace; color: white; font-size: 20px; margin-bottom: 50px; } </style> but I need to tweak the font and the format so it looks like this: In the SF Bay Area? Call Us for Direct Delivery!!! 415-275-1476 Thanks in advance for the help. Edited December 25, 2020 by ProfessorSeagull forgot info Link to comment
creedon Posted December 25, 2020 Share Posted December 25, 2020 This should get you closer. <style> #content:before { content: "In the SF Bay Area? Call Us for Direct Delivery!!! \A 415-275-1476"; display: block; font-family: monospace; font-size: 0.5em; line-height: 1.5em; margin-bottom: 50px; text-align: center; white-space: pre-wrap; } </style> Let us know how it goes. tuanphan 1 Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! 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