Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk11 min

How to Add a Parallax Effect to Your WordPress Website

Add a subtle WordPress parallax effect with manual CSS, Elementor Pro, or a class-based plugin. This guide covers setup, responsive fallbacks, reduced motion, Safari limitations, testing, and troubleshooting.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The simplest WordPress parallax effect is a section with a background image and background-attachment: fixed. If you prefer a visual editor, Elementor Pro provides Vertical Scroll and other Motion Effects. A class-based plugin can add the behavior when you work in Gutenberg or several page builders. Choose the method that matches your editor, then test it on mobile Safari, keyboard navigation, and reduced-motion settings before publishing.

Choose the implementation that fits your site

Parallax means that a foreground element or background appears to move at a different rate from the rest of the page as the visitor scrolls. The effect can create depth behind a hero, testimonial, feature panel, or section transition, but it should support the content rather than compete with it.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Situation Best starting route What you gain What to watch
You can edit CSS and markup Manual CSS Minimal dependencies and direct control over the image, size, position, and fallback rules. You must assign the class correctly and test responsive behavior in the browsers your visitors use.
You already build pages with Elementor Elementor Pro Motion Effects Visual controls, Vertical Scroll, and device-specific settings without writing the scroll logic yourself. Fixed backgrounds have documented limitations on iPhone and iPad Safari; effect settings also become part of your builder configuration.
You use Gutenberg, Full Site Editing, or multiple builders A class-based plugin such as SmartParallax A single class-based workflow for images, blocks, full-width sections, and background effects. The plugin becomes another dependency. Confirm compatibility, updates, and performance on the actual site.
iPhone and iPad visitors are important Motion Effects or a non-fixed fallback Better coverage than relying exclusively on background-attachment: fixed. Keep a static image or ordinary scrolling background available if the animated version is unavailable.

“Best” is therefore a site decision, not a universal ranking. Manual CSS is the leanest option, Elementor is the most convenient for Elementor-built pages, and a plugin can reduce repetitive setup across different editors.

Prepare the image and section before adding motion

Use an image that still works when cropped

A cover-style background is cropped to fill its container. Select an image whose important subject is near the center or has enough empty space around it. If a face, product, or headline area sits at an edge, background-position: center may crop it on a narrow screen. You can later change the position for a breakpoint, but choosing a flexible source image first prevents many layout fixes.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.

Upload the image to WordPress

  1. Open the WordPress Media Library and upload the background image.
  2. Open the attachment details and copy the image URL. You will use that URL in CSS if you choose the manual route.
  3. Record the section or container that should receive the effect. Applying the class to the wrong wrapper is a common reason for seeing no background.

Use an appropriately sized image rather than an unnecessarily huge original. A parallax section already requires the browser to paint a large area while the page scrolls; oversized assets increase download and decoding work without improving the visible effect.

Decide what happens when motion is unavailable

Plan a static presentation before enabling the effect. Elementor documents that motion effects are disabled when a visitor has enabled a reduced-motion preference. A custom implementation should do the same: retain the background, remove the movement, and preserve readable contrast. A visitor should never need animation to discover text or controls.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Method 1: Add parallax with manual CSS

Manual CSS is appropriate when your theme or block editor lets you add a class and custom CSS. The basic pattern uses a background image attached to the viewport, centered and covering the section.

1. Add a class to the target section

Edit the section, group, or container that should carry the image. In a block-based editor this is usually the block’s Additional CSS class(es) field; in a page builder it may be a CSS Classes field. Enter parallax without a leading period. The period belongs in the CSS selector, not in the class field.

2. Add the core CSS

.parallax {
  background-image: url("IMAGE-URL.jpg");
  min-height: 360px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

Replace IMAGE-URL.jpg with the exact URL copied from your Media Library. The min-height gives the image enough area to be visible; adjust it to the design of your section. background-size: cover fills the section while allowing cropping, and background-repeat: no-repeat prevents tiling.

Rank #2
Sale
Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
  • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
  • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
  • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
  • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
  • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.

3. Add content inside the section

The background can sit behind a heading, paragraph, button, or other blocks. A minimal HTML structure is:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
<div class="parallax">
  <h2>Section heading</h2>
  <p>Supporting text remains in the document flow.</p>
</div>

If your editor generates the wrapper for you, do not insert a second wrapper merely to reproduce this example. The important pieces are the class on the element with the background and content that remains readable over it.

4. Add contrast for text

Photographs change brightness as they are cropped and as the viewport changes. Put text in a solid or translucent inner panel, or add a color overlay in the builder or theme. Check the lightest and darkest parts of the image, not only the desktop screenshot you used while designing.

5. Create a responsive and reduced-motion fallback

Fixed attachment is not reliable on every mobile browser. You can make the section use ordinary scrolling on smaller screens and whenever a visitor requests less motion:

@media (max-width: 767px) {
  .parallax {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parallax {
    background-attachment: scroll;
  }
}

This keeps the image and layout while removing the fixed-background behavior. The breakpoint is a design choice, not a universal WordPress requirement; use the widths at which your composition stops looking good. If your theme already supplies mobile CSS, merge the rule into that system rather than creating conflicting declarations.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by

6. Test the result

  1. Save the CSS and reload the page with the browser cache cleared or bypassed.
  2. Scroll through the entire section. Confirm the image fills the intended area and does not repeat.
  3. Resize the browser to tablet and phone widths. Check that the subject remains visible and the section does not become excessively tall.
  4. Enable a reduced-motion preference in the operating system or browser and verify that the static fallback is used.
  5. Open the page on a physical iPhone or iPad if those visitors matter. Do not assume a desktop emulator represents Safari’s fixed-background behavior.

Method 2: Use Elementor Pro Motion Effects

Elementor provides two relevant workflows. A simple background can use the section’s fixed attachment setting. More advanced control is available through Motion Effects, where Elementor describes Vertical Scroll as a classic parallax effect: the element moves at a different speed from the page and its speed can be adjusted.

Basic fixed-background workflow

  1. Select the section or container that should carry the image.
  2. Open Style and add the background image.
  3. In the background controls, set the attachment to Fixed.
  4. Adjust the position and size controls so the focal point remains visible.
  5. Preview the page at desktop, tablet, and mobile widths.

This route is visually similar to the manual CSS pattern, but Elementor stores the settings in the element’s style controls. It is useful when you want a fixed background without configuring a separate class.

Use Vertical Scroll for a controlled parallax movement

  1. Select the container, section, or widget that should move.
  2. Open Advanced and expand Motion Effects.
  3. Enable the scrolling effect and choose Vertical Scroll.
  4. Adjust the speed until the movement is subtle enough that text and controls remain easy to follow.
  5. Use Elementor’s device controls to decide whether the effect runs on desktop, tablet, or mobile.

The moving object does not have to be the same element as the background. You can place an image or decorative layer behind content and apply Vertical Scroll to that layer, while keeping the text in a stable container. This arrangement gives you a visual depth cue without making the reading column move.

Set device-specific behavior

Elementor lets you target motion effects to desktop, tablet, or mobile. Treat those controls as deliberate variants, not as a way to hide a problem. A composition that looks balanced on a wide screen may crop badly on a phone, and a mouse-oriented effect may not make sense on a touch device. Elementor’s mouse effects are desktop-only, so never make a mouse-driven interaction the only way a mobile visitor understands the page.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Respect reduced motion in Elementor

Elementor documents that its motion effects are disabled when a visitor has enabled a reduced-motion preference. Keep a complete static design underneath the effect: the background, heading, body copy, links, and buttons must remain present and legible when movement is removed.

Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.

Method 3: Use a class-based parallax plugin

A plugin can be useful when you do not want to repeat CSS or when the same behavior must work across several editing systems. The SmartParallax listing on WordPress.org describes a class-based setup that applies scroll-linked parallax to images, blocks, full-width sections, and background effects. It lists support for Gutenberg and Full Site Editing, Elementor, Bricks, Divi, Oxygen, WPBakery, and modern themes.

Install and assign the class

  1. In the WordPress dashboard, open Plugins and choose Add New.
  2. Search for SmartParallax, check that the listing matches the plugin you intend to use, and install it.
  3. Activate the plugin, then read its current settings and class-name instructions. Plugin interfaces can change between releases.
  4. Edit the target block, section, or image and add the class specified by the plugin.
  5. Save the page and verify the effect on the front end, not only inside the editor preview.

The class is the connection between your content and the plugin’s behavior. If nothing moves, inspect the rendered HTML to confirm the class is on the intended element and check whether the plugin expects a particular wrapper or data attribute.

Keep the plugin route maintainable

  • Confirm that the plugin is compatible with your WordPress version, active theme, and page builder before applying it to production pages.
  • Test one representative page after plugin, theme, or builder updates. A class-based effect can stop working if a builder changes the markup around a block.
  • Deactivate the effect rather than leaving broken scripts on a page if the plugin is no longer maintained or conflicts with another animation system.
  • Keep a static background and readable content so disabling the plugin does not remove essential information.

The plugin listing’s compatibility statements are a starting point, not a guarantee for every combination of theme, optimization layer, and browser. Verify the exact site configuration you operate.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Mobile, Safari, accessibility, and performance

Why fixed backgrounds need special mobile testing

Elementor documents that fixed background attachment may not function properly on iPhone and iPad Safari. A desktop result therefore cannot be treated as proof that the same effect works on Apple mobile devices. Use Motion Effects where appropriate, switch to ordinary scrolling on those devices, or provide a static image fallback.

Reduced motion is a functional requirement

Some visitors deliberately reduce animation because motion causes discomfort or distraction. The fallback should remove the movement, not the content. For custom CSS, the prefers-reduced-motion: reduce media query is the place to override the fixed behavior. For Elementor, leave the documented reduced-motion handling intact and avoid adding JavaScript that forces animation back on.

Do not hide meaning inside motion

Parallax should be decorative. A heading, navigation link, form label, or instruction must remain understandable when the effect is disabled. Keep normal document order, use sufficient color contrast, and ensure that keyboard users can reach every interactive control without depending on a scroll-triggered transition.

Limit the amount of moving content

One carefully chosen hero or transition section is easier to maintain than a page where every block moves. Multiple large backgrounds and independent scroll effects can increase paint work and make the page feel unstable, especially on lower-powered phones. If a motion layer does not clarify hierarchy or atmosphere, remove it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Testing checklist before publishing

  • Class or element: The class is attached to the element that owns the background or motion setting.
  • Image crop: The focal subject remains visible at desktop, tablet, and phone widths.
  • Height: The section has enough height to show the effect but does not create an unexplained empty gap.
  • Contrast: Text and controls remain readable over every visible portion of the image.
  • Reduced motion: The page remains complete and static when the preference is enabled.
  • Safari: iPhone and iPad behavior has been checked, with a non-fixed fallback where needed.
  • Touch devices: The experience does not depend on a mouse pointer or hover state.
  • Keyboard: Focus indicators and tab order remain visible while the section is on screen.
  • Performance: The page still scrolls smoothly with the effect enabled and with browser developer tools simulating a slower device.
  • Maintenance: Another administrator can identify the image, class, builder setting, or plugin responsible for the effect.

Troubleshoot the most common failures

The background does not appear

Check the image URL for typographical errors, confirm that the class is on the rendered element, and inspect the browser’s computed styles. A later theme rule may override background-image, or the section may have no height because its children are positioned outside normal flow. Add a temporary height or content block to confirm that the selector is working.

The image appears but does not move

Verify that the fixed attachment or scrolling effect is actually enabled, then test in a desktop browser where the behavior is expected. Some mobile browsers intentionally do not implement fixed backgrounds in the same way. If you are using a plugin, confirm that its class is present and that its script is loading without a JavaScript error.

The subject is cropped incorrectly

Change the background position from the default center to a more suitable focal point, or use separate position values at narrower breakpoints. If the crop is still unacceptable, use a different image or disable the background treatment on that device rather than shrinking the content until it becomes unreadable.

The section flickers or feels too fast

Reduce the motion speed in Elementor, remove competing effects, and test with the browser’s performance tools. A stable foreground container with a slower decorative layer usually reads better than several elements moving at different rates.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The effect vanishes after an update

Check whether a theme, builder, optimization plugin, or parallax plugin changed the generated markup or removed the class. Re-test the page in a staging copy, restore the static fallback if necessary, and document the setting so the next update does not turn a decorative effect into a layout problem.

Which route should you use?

Use manual CSS when you control the markup and want the smallest dependency surface. Use Elementor’s Motion Effects when the page is already built in Elementor and you need visual speed and device controls. Use a class-based plugin when the same behavior must be assigned across Gutenberg, Full Site Editing, and multiple builders. Whichever route you choose, treat the static, reduced-motion version as the baseline and add parallax only after the content, contrast, mobile crop, and keyboard experience are already correct.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.