Client logos in WordPress: a logo bar and slider without a page builder
A row of client or partner logos sits on a lot of homepages. Here you build one in five steps with the block editor and our free plugin Heckgalerie, exactly as the video does, plus what matters for logo files, alt text and motion.
Client and partner logos appear on a lot of homepages, under headings like "Trusted by", "As seen in" or "Our partners". You do not need a page builder for that row. The WordPress block editor is enough, plus a plugin that lines up images from your media library.
We show it with Heckgalerie, our free gallery plugin from the WordPress directory. This guide follows our video step by step and adds what a video has little room for: which files suit logos, what goes into the alt text, and how a slider behaves for people who are sensitive to motion.
What you end up with
Six logos in a centered row, all in gray. When a visitor points at one, it shows its colors; move away and it turns gray again. The logos keep their shape, nothing gets cropped. The gray and the color change are plain CSS, with no script involved.
The video shows every click, from the media library to the finished homepage, then the slider version and where the single row reaches its limit on narrow screens.

Before you start: logo files that work
A logo is not a photo. Four things decide whether the bar looks calm and even.
- File format. Use PNG with a transparent background, or WebP, so the logo sits on any background without a white box. SVG would be the obvious choice for logos, but WordPress does not accept SVG files in the media library out of the box, because they can contain code.
- Size. In the Single row template Heckgalerie shows each logo at most 48 pixels tall, in Logo grid at most 90 pixels. That is what the plugin's stylesheet says. To stay sharp on high-resolution screens, the file should be at least twice that height. Larger does no harm: WordPress creates smaller versions on upload, and Heckgalerie hands them to the browser to choose from.
- Margins. The height is capped and the width follows the aspect ratio. A file with lots of empty space around the logo makes it look smaller than its neighbors. So crop your logos tightly and consistently. For the slider the opposite applies, more on that below.
- Alt text. In the media library, enter the company name in each logo's "Alternative Text" field, not "logo" and not the file name. Heckgalerie puts exactly that text on your page. Someone using a screen reader then hears whose logo it is. Without alt text the screen reader skips the image, and the bar tells them nothing. If the logo is linked, the name is also the link text.
Step 1: put the logos into the media library
Install Heckgalerie like any plugin: search for "Heckgalerie" under Plugins, install, activate. Then upload your logos to the media library like any other image and set the alt text on each one. The video uses six logos of made-up partner companies, each with the company name as its alt text.
The logos stay ordinary media library attachments. Heckgalerie does not build a second image library; a gallery is simply a list of those attachments. If you ever remove the plugin, you lose none of your logos.
Step 2: create a gallery with the Single row template
After activation you will find "Galleries" in the admin menu. Open it and click "New gallery". Heckgalerie asks for the template first, and you can change it later at any time. Under "Logo bars" there are two:
- Logo grid spreads many logos over as many rows as they need.
- Single row puts a handful of logos into one centered row.
Pick Single row and click "Use this template".
Step 3: choose and order the logos
Click "Choose images" and your media library opens. Click the logos in the order you want them, then "Apply". On the left each logo gets its own row with arrows for reordering; on the right the preview shows the bar in gray.
Every row shows the placeholder "Alt text missing", even when the logo has alt text in the media library. Leave that field empty and the media library text is used. Whatever you type there replaces it in this gallery only.
Step 4: save and copy the shortcode
Click "Save" and the status line confirms it. At the top, next to "Embed with:", you will find the shortcode for this gallery, carrying its number, for example:
[heckgalerie id="12"]
Copy it including the square brackets. You need it in a moment.
Step 5: put the shortcode on your page
Open the page where the bar belongs, in the video the homepage. Click into the empty line where the logos should appear, in the video under the heading "Trusted by". Type a slash and the word shortcode, press Enter, and paste the code into the new Shortcode block. Then save.
This works in any page or post, and in the classic editor too. Need the same bar in several places? Use the same shortcode again. When you change the gallery later, the bar changes everywhere the shortcode sits.
Why the bar stays light
We measured the version shown in the video in September 2026, straight from the WordPress directory. Heckgalerie's stylesheet is 1,832 bytes with gzip, so under two kilobytes. A page with a logo bar loads no script from Heckgalerie. The script, about three kilobytes compressed, is only added when the page holds a slider or a lightbox.
That is a statement about the plugin, not the whole page: your theme may bring scripts of its own. If your site feels slow overall, our guide WordPress slow? 10 steps to speed up your site covers the other levers.
Four logos or more: use Logo grid
Single row keeps every logo on one line. The six logos in the video need about 549 CSS pixels there, while many phones are only 360 to 390 pixels wide. On a narrow screen the row gets cut off.
So from about four logos, switch the template to Logo grid right in the gallery and click "Save". The logos then wrap onto as many rows as they need. The shortcode stays the same, so there is nothing to change on the page.
Gray on phones and for keyboard users
The color change is triggered by mouse hover and by keyboard focus. Linked logos therefore show their colors when someone tabs through them as well. On a touchscreen nobody hovers, so the logos stay gray there. If the colors matter to you, untick "Grayscale" in the gallery settings and the logos always show in color.
Linking partner logos and marking paid spots
Partner logos usually link to the partner. Each row has a link field and, next to it, a choice for the link type: nofollow, sponsored or ugc. For a paid placement, choose sponsored and save. Heckgalerie writes it into the link on your page as rel="sponsored", which is how Google asks for paid links to be marked (Google Search Central on outbound links).
The slider version: one logo at a time
If you want the logos to move, the free plugin brings one slider template: "Crossfade" under "Slider". The logos then appear one after another with a soft crossfade, dots and arrows. Because something moves, the page now loads the Heckgalerie script.
The video shows one limit too. The slider frame is fixed at 4:3, there is no setting for it, and the image fills the frame to the edges. Wide logos therefore get cut at the sides. Here the opposite of the earlier tip helps: place each logo in the middle of a 4:3 canvas, for example 800 by 600 pixels, with a margin all around.
How fast the slider changes is set in the gallery under "Slider interval in ms". The default is 4000 milliseconds, four seconds. With 0 the slider never changes on its own.
Motion that visitors can switch off
Motion on screen makes some people dizzy, and others lose their place in the text when something moves next to it. Operating systems have a setting for this: "Reduce motion" on macOS (System Settings, Accessibility, Display) and the "Animation effects" switch on Windows 11 (Settings, Accessibility, Visual effects). The browser passes it on to every website as prefers-reduced-motion.
The Heckgalerie slider follows it:
- When the system reports reduced motion, autoplay does not start and the crossfade is dropped. If someone changes the setting during the visit, the slider follows.
- While the mouse is over the slider or keyboard focus is inside it, it pauses.
- Arrows and dots are real buttons with labels for screen readers, and a hidden live region announces which image is showing after each change.
The slider has no dedicated pause button. The Web Content Accessibility Guidelines ask for a way to pause anything that moves on its own for more than five seconds (WCAG 2.2, success criterion 2.2.2). If your site has to meet that strictly, set the interval to 0. Then nothing moves by itself and visitors browse with the arrows and dots.
The logo bar itself does not move at all. If all you want is to show who you work with, it is the calmer choice.
Try it without installing anything
Our browser demo starts WordPress right in your browser through WordPress Playground, with Heckgalerie and six made-up partner logos in the media library. The homepage already has the empty line under "Trusted by", so you can follow the video step by step. Nothing gets installed on your computer. The theme running there is our block theme Hafen.
For your own site, get Heckgalerie under Plugins in your dashboard or straight from wordpress.org/plugins/heckgalerie. What else the plugin does besides logo bars is in our introduction to Heckgalerie. Coming from NextGEN Gallery? Our comparison of gallery plugins is worth a look, and Heckgalerie brings a migration assistant for NextGEN galleries.
And if you are weighing up whether your site needs a page builder at all, our guide to Elementor alternatives helps you decide.
Heckgalerie on WordPress.org
Logo bars, galleries and a slider from your media library, free in the official directory.
Frequently asked questions
How do I add a logo slider in WordPress without a page builder?
Upload the logos to the media library, create a gallery with the free Heckgalerie plugin using the Single row or Crossfade template, pick the logos and save. Then put the gallery shortcode into a Shortcode block in the block editor. It works in any page or post and in the classic editor too.
Which file format works best for logos in WordPress?
PNG with a transparent background, or WebP. That way the logo sits on any background without a white box around it. WordPress does not accept SVG files in the media library out of the box, because they can contain code.
What alt text should a logo have?
The company name, not the word logo and not the file name. A screen reader then announces whose logo it is, and on a linked logo the name doubles as the link text. Heckgalerie takes the alt text from the media library.
Why does my logo bar get cut off on phones?
A single row keeps every logo on one line. The six logos in our video need about 549 CSS pixels there, while many phones are only 360 to 390 pixels wide. From about four logos, switch the template to Logo grid and the logos wrap onto several rows.
How do I make a logo slider accessible?
Give every logo the company name as alt text and make sure the motion can be stopped. The Heckgalerie slider does not autoplay when the system reports reduced motion, and it pauses while the mouse or keyboard focus is on it. Set the interval to 0 and it only changes on click.