Menu

1 / 3

Build a mobile-first homepage for a local business in one afternoon

DEV Community: css·LeadReef Dev·12 days ago
#Btxkt4Zq
#devtocss#devto#dev#phone#call
Reading 0:00
15s threshold

Most local business homepages we look at were designed on a 27-inch monitor and then squeezed onto a phone. The hero slider shrinks to a strip, the phone number sits in a footer nobody scrolls to, and the "Book now" button is a 30-pixel link in a hamburger menu.

That is backwards for this kind of site. People find a plumber, a dentist or a nail salon on their phone, usually with a specific job in mind: call, book, or check whether the place is any good. Google also treats the phone version as the real one. Its documentation says plainly that it "uses the mobile version of a site's content, crawled with the smartphone agent, for indexing and ranking."

So here is the template we keep coming back to when we sketch a homepage for a local service business. It is plain HTML and CSS, no framework, and you can get a solid first version done in an afternoon.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.