Optopharm — A Wholesale Website for Leica Eyewear Lenses
For Optopharm d.o.o., the authorised partner and distributor of Leica Eyecare premium eyewear lenses in Croatia, I designed and built a brand-new website that does two jobs at once: it presents Leica and its optics to end customers, and it runs a serious wholesale conversation with other opticians. The client did not arrive with a finished content list, but with a positioning — Leica wholesale — so I proposed and structured the sitemap and the entire content architecture myself, derived from official Leica Eyecare communication and extended with a strong B2B layer aimed at opticians. Everything is built as a bespoke, purpose-made WordPress theme with no Elementor and no page builder of any kind, depending only on what it genuinely needs, so the site stays fast, clean and maintainable for years.
I derived the design straight from the Leica brand guide and translated it into a system of design tokens that keeps the whole site speaking one language. The foundation is warm black for text and dark surfaces, white and "magnesium" white for backgrounds, and a palette of technical greys taken from Leica’s visual identity, while the unmistakable Leica red is deliberately reserved for the Leica Dot and the smallest accents only — never as decoration. The typeface is Outfit in a variable cut from 200 to 700, self-hosted on the server with no calls whatsoever to Google Fonts, on a fluid type scale that adapts smoothly from phone to large desktop. The details honour the brand all the way down: a corner radius of just two pixels because Leica is sharp and minimal, a Leica Dot never smaller than 26 pixels, uppercase kickers with precise letter spacing, and the hero claim "Unblur the world" set as the homepage’s key message.
The homepage opens with a full-height hero carrying the Leica Authorized Dealer mark and walks the visitor through a brand statement with the key messages — a hundred years of tradition, the most advanced factory in Germany, and a perfectly clear view of the world — then on through the lens range, a "Why Leica?" section explaining what premium quality actually means, the wholesale area inviting opticians to become a Leica partner, and contact. For the lenses themselves I built a single intelligent template that serves the entire range — Monovid, Variovid, Digivid, Monovid Digital, Duovid and Monovid Myopia — where every page carries its own lens render, introduction, category, a clear statement of who it is for, its features, the technologies built into the lens, available versions and coatings, and a dedicated "what the optician gets" block, plus automatic navigation to the previous and next lens. On selected lens pages I embedded silent looping animations that load only after their poster image, so they explain the lens without a single unnecessary kilobyte.
I put particular effort into making sure the client genuinely owns the site. Every single visible piece of text on the web — every heading, paragraph, figure, benefit and contact detail — has its own field in the WordPress admin, already filled with the current copy, so the client simply types over it and saves. Because the custom-fields version in use has no repeater, I modelled lists such as features, technologies and cooperation steps as fixed pairs of fields with Croatian labels, with the logic that an empty item simply does not render — hiding content comes down to deleting text. All of it runs in the classic editor, as simple as Word, with factory-default images stepping in whenever a field is left empty, and alongside the site I delivered a Croatian PDF guide with the exact steps for every page.
Wholesale enquiries are handled by a dedicated B2B form asking for the name, the optician’s business name, the tax number validated to exactly eleven digits, city, e-mail, phone and message, delivered by e-mail with a hidden backup copy. I built the bot protection entirely without external services and without reCAPTCHA: a combination of a hidden honeypot field, a WordPress nonce check, an "I am not a robot" confirmation and a cryptographically signed time trap that rejects submissions faster than three seconds or older than two hours does the job without a single data point leaving for a third party. Prices are never published openly — price lists and terms consistently go "on request", which was an explicit business decision. On the technical side the site is optimised for search with hand-written meta descriptions, Open Graph and Twitter tags, a Croatian document language, a clean head stripped of superfluous WordPress scripts, every image in WebP, accessible aria labels, and content that stays visible even when JavaScript does not run. The result is a precise, technically consistent digital presence worthy of the brand standing behind it.