Subscribe to Our Newsletter

x

How to Change Video Thumbnails on RebelMouse

When users create an article in the Particle Assembler that includes videos, a default thumbnail image appears when the video is uploaded to the Entry Editor. However, sometimes a video does not have a placeholder image or the image is something you want to change.


If the default image is not preferable, it is easy to change with custom CSS. Here is a step-by-step of how to do it.

First, find the image you would like to use as the video thumbnail. Then, use that image URL for the next steps. First, locate the post ID in the CSS. Using the Inspect function, you should find the post ID inside the tag <article>.

You can also easily find your Post ID In the URL of any RebelMouse article.

Now, using the specific post ID, you can change the background image for the <div> that contains code video you want t update. In the example below, the name 'no-image' is used to target the <div>.

In case there are many spots with the same name, you will need to use the CSS selector "first-of-type" or "first-child" to grab the specific occurrence you want to change.

Once you have found the specific element you want to change, apply the following rules:

/*set a thumbnail for one specific post*/
.post-2604691972 .listicle-slideshow__thumbnail > div.no-image {
      background-image:  url('put the url created in the first step here');
  }

Finally, remove the icon that is hovering your picture with the following rule:

.post-2604691972 .listicle-slideshow__thumbnail > div.no-image path {
     display: none;
 }

Once the custom CSS is updated, you should see your new image as a thumbnail option in the post.

How to Add a Placeholder Image for Articles on Google AMP

The process is similar if you are publishing on Google AMP, but you need to use custom AMP CSS through our Layout & Design tool to make sure you are grabbing the target element only. Here is where to find it:

For AMP, use the same image URL as the previous example. To find the AMP-specific CSS rule that will only grab the desired post and the <div> you need, inspect the article's code to find the right place.

Then, inside your post, find the element you want to change the background image. In the example below, the CSS selector "first-of-type" is used to isolate only the first occurrence of the carousel image:

/*set a thumbnail for one specific post*/
.css-listicle-body-2604691972 button.amp-carousel-slide.amp-scrollable-carousel-slide:first-of-type {
 background-image: url(https://media.fox16.com/nxsglobal/fox16/photo/2018/09/07/Interview_with_Mother_of_Botham_Jean_0_54547264_ver1.0_640_360.jpg);
       background-size: cover;

Finally, remove the default image in order to see your new background image. In order to do that, set the <img src> of target element to "none."

.css-listicle-body-2604691972 button.amp-carousel-slide.amp-scrollable-carousel-slide:first-of-type amp-img[src]{
display:none;
}

Once completed, here is how the additional thumbnail will look on Google AMP:

If you have any questions about how this works, contact your account manager to help you anytime.

Related Articles

Take Advantage of Rich Media Integrations on RebelMouse

You're almost there! Fill out the form below and a Rebel will contact you within one business day.

x

A Look Inside the Only Creative Agency Powered by Deep Technology

Strategic development of product that supports content distribution, conversion, and loyalty.

RebelMouse is a creative agency fueled by a publishing platform with deep technology. Our expertise is rooted in media and content marketing because there is no other team that understands distributive publishing better than we do. There is also no other CMS on the market today that provides content creators with the tools they need to unlock sustainable growth backed by sticky monetization methods. RebelMouse blends product and strategy together to move the needle where it matters most — organic traffic and user growth, conversion to loyalty, and revenue growth.

Keep reading... Show less

New URL Structure for Communities and Users

If you've been following RebelMouse for any length of time, you know that we've gone all in on the power of influencers and creators. This, in turn, has driven us to expand and enhance our community-building platform at an incredible rate. Since our network has grown several fold with no signs of slowing down, it's now time to change how our technology handles user and community URLs to prevent any confusion in the future, especially for clients of ours that employ multiple communities.

Keep reading... Show less

More Elements Available for Lazy Load

Lazy loading has been an available option in our Layout & Design tool for quite some time. In the world of computer programming, lazy loading is a design pattern that allows specific parts of your site to load in a certain order based on what the user needs to see first. Its use is suggested for common page elements such as related post lists, sidebars, and any others features of an article.

Keep reading... Show less

Manage Your Site's Global Settings

Create Your Powerful + Modern Publishing System

At RebelMouse, we use the term "lean tech" quite a bit. Lean tech is the opposite of what many publishers think may save their site in today's landscape: A big-box CMS publishing solution that is often costly to customize and maintain. In actuality, the key to sustainable growth and revenue is a leaner, full-stack tech solution that creates opportunities for growth not just on site, but on search and social, too.

Keep reading... Show less

Let Your Audience Tell Your Brand’s Story

United Airlines' "Her Art Here" Campaign Blends Engagement With Purpose

The digital landscape has reached a turning point. Publishers are trying to pick up the pieces and figure out how to create quality content and monetize it now that readers have loosened up their dependency on the major platforms. In the meantime, massive audience hubs like Facebook are trying to recover legitimacy and relevancy with better prioritization of privacy and user experience.

Keep reading... Show less

You're almost there! Fill out the form below and a Rebel will contact you within one business day.

x

How to Leverage Annotations in Google Analytics

When looking at your website data in Google Analytics (GA), it can be difficult to remember exactly what happened on a particular day to determine why certain data spikes or dips may have occurred.

For this reason, it's important to keep track of when changes are made to your site. Thankfully, GA allows you to easily do this using annotations. Annotations are short notes you can add to dates within Google Analytics reports.

Keep reading... Show less

Changing the Face of Tech: The Women of RebelMouse

Keep reading... Show less

A Guide to User Permissions on RebelMouse

On our platform, user roles range from base-level contributors all the way up to administrators. These roles are especially important when operating within the confines of our community dashboard, which brings multiple creators together to create and share within one large content hub.

The way each role interacts with others is completely customizable. The workflow is designed to streamline the edit, revision, and publishing process to make sure live content is not only perfect, but always optimized for site, search, and social. The way each team sets up their role structure is typically dependent on the number of writers employed, the amount of content published, and the cadence of posts.

Keep reading... Show less

RebelMouse Ad Integrations: Overview

Since the dawn of digital publishing, exactly how to make money on content has been a rocky road for publishers to navigate. The good news is that thanks to factors like user maturity, advancements in tech, and algorithms that deliver a new level of personalization, monetizing your site is easier than before. In previous years, it seemed like publishers were drowning in the revenue duopoly that is Facebook and Google, with little time to come up for air.

Keep reading... Show less