Title: CLI Issue
Last modified: June 13, 2022

---

# CLI Issue

 *  Resolved [shinchanelp31](https://wordpress.org/support/users/shinchanelp31/)
 * (@shinchanelp31)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/cli-issue-2/)
 * Simple banner pushes the body content downward that causes our score in Google
   page speed low when it comes to CLI (Cumulative layout shift). I tried adding
   fixed height and width but doesn’t work. Is there anyway we can display it always
   and not load after all assets loaded.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcli-issue-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Galcor](https://wordpress.org/support/users/galcor/)
 * (@galcor)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/cli-issue-2/#post-15747364)
 * I have the same issue, cls caused by the banner (When I deactivate the plugin,
   there’s no cls). The scripts are not defer by any plugin… but strangely, fixed
   height and width doesn’t work:
 *     ```
       @media (max-width: 980px) {
       	.simple-banner {
       		height: 95px !important;
       		width: 100% !important;
       	}
       	}
       ```
   
 *     ```
       @media (min-width: 981px) {
       	.simple-banner {
       		height: 70px !important;
       		width: 100% !important;
       	}
       	}
       ```
   
 * Thank you in advance
 *  [Galcor](https://wordpress.org/support/users/galcor/)
 * (@galcor)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/cli-issue-2/#post-15747386)
 * Finally found the trick… define width and heigh, and in the plugin settings, 
   set the banner to fixed position instead of static.
 *  Plugin Author [rpetersen29](https://wordpress.org/support/users/rpetersen29/)
 * (@rpetersen29)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/cli-issue-2/#post-15815429)
 * Hi [@shinchanelp31](https://wordpress.org/support/users/shinchanelp31/) another
   way to do this is to enable the wp_body_open option. You’ll need to make sure
   your theme supports wp_body_open or add it to your theme’s code if not. [https://developer.wordpress.org/reference/functions/wp_body_open/](https://developer.wordpress.org/reference/functions/wp_body_open/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘CLI Issue’ is closed to new replies.

 * ![](https://ps.w.org/simple-banner/assets/icon-256x256.png?rev=1198700)
 * [Simple Banner - Easily add multiple Banners/Bars/Notifications/Announcements to the top or bottom of your website](https://wordpress.org/plugins/simple-banner/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-banner/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-banner/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-banner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-banner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-banner/reviews/)

## Tags

 * [cls](https://wordpress.org/support/topic-tag/cls/)

 * 3 replies
 * 3 participants
 * Last reply from: [rpetersen29](https://wordpress.org/support/users/rpetersen29/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/cli-issue-2/#post-15815429)
 * Status: resolved