Pulse Commerce storefronts use CSS-styled buttons by default. In some legacy or specialized scenarios, certain UI elements may still be delivered as system images. This article explains both supported approaches:
- Replacing system images (such as legacy Buy buttons) via FTP/FTPS
- Styling CSS buttons to use a background image instead of a purely CSS-rendered button
Modern Pulse Commerce storefronts render buttons using HTML + CSS. This provides better accessibility, responsiveness, performance, and maintainability than image-based buttons.
However, some legacy templates and shared UI assets still reference system images stored on the server. These can be replaced via FTP/FTPS if (and only if) the storefront is actually referencing those files.
Rule of thumb:
- If the button text is selectable → it is a CSS button
- If the button is a fixed graphic → it may be a system image
If your storefront uses a true system image (for example buy.gif), you can replace it by overwriting the file via FTP/FTPS.
- Connect to your site using FTP/FTPS
- Navigate to /images/Storefront_System_Images
- Download the original image as a backup
- Overwrite it with your custom image using the same filename
How do I configure FileZilla to use SSL FTP (FTPS)?Â
Since Pulse Commerce buttons are CSS-based, a merchant may choose to apply an image as a CSS background instead of using a fully CSS-styled button.
This approach does not replace a system image. It modifies the button’s appearance through CSS.
Example CSS (conceptual)
/* Example: Buy button with background image */
button.buy-button {
background-image: url("/images/custom-buy-button.png");
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
/* Hide text visually but keep it accessible */
color: transparent;
text-shadow: none;
width: 200px;
height: 50px;
}
Drawbacks and risks of image-based CSS buttons:
- Fragile selectors: If button classes or markup change, your CSS may stop applying.
-
Accessibility risk: Background images do not support
alttext. Poor implementations can break screen readers. - Responsive issues: Image buttons may not scale cleanly across breakpoints.
- Higher maintenance: Button states (hover, focus, disabled) must be manually handled.
- Upgrade risk: Platform or theme updates may override or conflict with custom CSS.
For broader customization using HTML, JavaScript, and CSS within WYSIWYG editors, see:Â
How can I add custom HTML, JavaScript, and CSS to help my online store appear as part of my existing website?Â
- Pulse Commerce buttons are CSS-based by default
- Replace system images via FTP/FTPS only if the storefront uses them
- Prefer CSS styling over image buttons whenever possible
- Use image-based CSS buttons only with full awareness of risks
- Always back up files and test changes across devices