Customize Your Mobile Back in Stock Popup with CSS

   Tip: Select any images or gifs in this article for a closer look.

This guide walks through how to edit your brand's back-in-stock popup with CSS.

Understanding Where Your BIS Popup is Inheriting its Design


Your back-in-stock (BIS) popup inherits the original design of your mobile or desktop popup-- or the design of the popup that was automatically added to your Postscript account upon installation.

If your shop has multiple mobile popups, be sure to locate the original popup that the BIS popup design is inheriting. If your original popup was deleted, please contact our support team via chat or by emailing support@postscript.io and indicate that your original mobile popup needs to be restored.

Once you have located or restored the original mobile popup, you can begin editing the back-in-stock popup with CSS. 

Let's take a look at an example below of a mobile popup. The shop has two mobile popups - a gold popup and a dark grey popup. Notice the back-in-stock popup's design is also dark grey. This indicates that the dark grey mobile popup is this shop's original popup and that the back-in-stock popup is inheriting its design. To change the font size of the back-in-stock popup, we'll need to open the CSS editor of the dark grey mobile popup.

Dark Grey Mobile Popup Design

nelo_charcoal.png

Gold Mobile Popup Design

nelo_yellow.png

Mobile Back In Stock Popup

nelo_BIS.png

Customize Font Size


Once you've located or restored your shop's original popup, follow the instructions below to change the font size of your mobile back-in-stock popup that reads "Receive a Notification When This Item is Restocked".

bis css.gif

  1. Head to Acquisition on the left-side navigation bar. Then select Popups.
  2. Select the appropriate popup - the original popup that the back in stock popup is inheriting it's design from.
  3. Under Popup Size, note if your mobile popup display is Full or Partial.
  4. In the upper-right corner of the popup editor, select Edit CSS.
  5. If your mobile popup display is Full, use the following CSS:
    #ps__bis_container_root #ps-mobile-widget-overlay__headline {
    font-size: 5vw;
    }
  6. If your mobile popup display is Partial, use the following CSS:
    #ps__bis_container_root #ps-mobile-widget-partial__headline {
    font-size: 5vw;
    }
  7. Adjust the value of the font size up or down as needed.
  8. Select Save in the upper right corner of the CSS editor once your font size has been adjusted to your liking.
  9. A popup will appear asking you to confirm. Select Overwrite CSS in the bottom-right corner of the popup.
  10. Tip! We recommend viewing the live back-in-stock popup on your mobile device to confirm the font size has been adjusted accordingly.

Get Support


Have questions? Please feel free to reach out to our wonderful Support team at support@postscript.io or via live chat. You can also submit a support request here!

Need ongoing channel strategy guidance? Please fill out this form and we'll connect you to one of our certified partners.

Was this article helpful?
0 out of 0 found this helpful