Change Row Background Image on Mobile View

Most of the time, full-width images don’t look that great on mobile view, because they are cropped (which is better than being stretched). One way to get around this is to change the background image once it reaches the mobile responsive breakpoint. Here’s how.

To change the background image for a row on mobile view:

  1. Open the row with the background image for editing and click the Advanced tab.
  2. Scroll to the CSS selectors section and enter a name in the Class field.
    It’s a best practice to add a custom prefix to your class names as a namespace, to avoid conflict with other class names used by the theme and plugins. In this example, we’ll use the class name  ss-first-row.
  3. Save the row settings.
  4. In the upper right corner, click Tools > Layout CSS / JavaScript.
  5. Add the CSS rule below.
    Replace the class name with your own class name, and change the URL to point to the mobile background image you want to use.
  6. Click Save.
/* Change background image on mobile view*/
@media (max-width: 767px) {
  .fl-content .ss-first-row .fl-row-content-wrap {


Last updated on Jan 25, 2017