ContentWorks preview · Posh product page polish · for Andy's review

What this is

A small stylesheet that tidies the product pages. It changes no theme files, hides nothing, moves nothing, and can be taken out again by deleting it, saving and flushing the cache (steps below). Every picture below is the live Posh page with the stylesheet tried out in our own browser only. The real site has not been changed.

Download posh-polish.css

Use the buttons at the top to look at a different product or the phone size. The default is the Apex enclosure on a computer.

Before and after

Details tab: feature list and description

The feature list is now a tidy two column table (label on the left, value on the right) with light dividers, lined up with the paragraphs above it. The paragraphs are a comfortable reading width in a darker grey. On computers the tab row has a clearer active tab, a hover state, a visible keyboard outline and a tap area of at least 44px high. On phones the tabs stay exactly as they are now.

Before
details before
After
details after

Hovering a tab (desktop only)

Hovering a tab (desktop only)

Buy box: Add to Cart

Add to Cart now responds when you hover or press it (it keeps Posh's blue hover colour and gains a soft shadow, plus a 1px press). Quantity box, wishlist and compare buttons share the same softly rounded corners. The "Be the first to review" link is darker grey, so it is easier to read.

Hovering Add to Cart (desktop only)

Hovering Add to Cart (desktop only)
Before
buy before
After
buy after

"We found other products you might like"

Product names now wrap onto up to three lines instead of stopping at three dots, so you can tell products apart. Cards lift slightly and the picture zooms a little when you hover.

Before
related before
After
related after

Hovering a product card (desktop only)

Hovering a product card (desktop only)
Site-wide (optional)

Menu, breadcrumbs and newsletter box

These are the second half of the stylesheet. They change colours on every page of the shop, not only product pages, so they are kept in a separate part you can delete if you would rather not touch them. The menu blue and SALE red get slightly deeper so they are easier to read on the grey bar. The newsletter Submit button gets slightly deeper blue and the field hints get darker.

Before
Menu before
After
Menu after
Before
Newsletter before
After
Newsletter after
Readability, measured

Text colour contrast

A ratio of 4.5 or more is the usual minimum for easy reading. These are the colours we measured on the live Apex page, before and after. Each fix is the smallest change that reaches 4.5.

WhereBeforeRatioAfterRatioApplies to
Main menu links (blue menu bar on screens 992px wide and up; hover colour, tablet and phone menus unchanged)#0088cc on #f5f5f53.57#0076b14.56Site-wide
SALE in the menu bar (992px and up)#fc0009 on #f5f5f53.75#e000084.62Site-wide
Breadcrumbs (Home > ...)#8e8e8e on #ebebeb2.75#6969694.61Site-wide
Newsletter Submit button (white text)white on #0088cc3.89white on #007cba4.57Site-wide
Newsletter field hints (First Name, Email)#dddddd on white1.36#7575754.61Site-wide
"Be the first to review this product" link in the buy box#999999 on white2.85#7575754.61Product pages
Same review link in the bar that appears when you scroll#1198ff on white3.02#0d78c94.62Product pages
Links inside the description#1198ff on white3.02#0d78c94.62Product pages
Short description, SKU label, stock text (barely visible change)#777777 on white4.48#7575754.61Product pages
Description paragraphs and feature list#777777 on white4.48#3d3d3d10.86Product pages
Tab names that are not selected (computers)#818692 on white3.65#6b707c4.96Product pages
How to add it
  1. In Magento Admin go to Content > Design > Configuration.
  2. Find the store view in the list and click Edit in its row.
  3. Open Other Settings > HTML Head.
  4. In Scripts and Style Sheets, type <style>, paste the whole of posh-polish.css, then type </style>:
<style>
  ...paste posh-polish.css here...
</style>

Add it below anything already in the box. Do not delete what is there. If your store view already has its own entry in this box, edit that one: the store view's entry overrides the website or default one.

  1. Click Save Configuration, then flush the cache (System > Cache Management > Flush Magento Cache).

To remove it: delete what you pasted, save, and flush the cache again. The shop goes straight back to how it is now.

Adobe's own help pages give the path above (Content > Design > Configuration, then Edit on the store view, then HTML Head). Adobe's pages do not mention the cache step, which is standard Magento practice. If you only want product pages changed, leave out the section marked "PART 2: SITE-WIDE".

Needs your developer, not CSS

Stylesheets can only change how things look. These need a developer to change what is on the page: