Title: Using Spoiler Shortcode with a fixed header background theme
Last modified: May 21, 2024

---

# Using Spoiler Shortcode with a fixed header background theme

 *  Resolved [christina214](https://wordpress.org/support/users/christina214/)
 * (@christina214)
 * [2 years ago](https://wordpress.org/support/topic/using-spoiler-shortcode-with-a-fixed-header-background-theme/)
 * I have a new website I’m working on which is on maintenance mode but I can provide
   the link to the theme I’m using if that will help. My theme uses a fixed header
   background. I’m trying to find out if there’s a way to stop the page from jumping
   up when opening the text within the spoiler shortcode? I wonder if my site visitors
   will be confused of what happened to the text when opening the spoiler text because
   the page seems to go up and the text isn’t immediately onscreen. In order to 
   see the text, you have to scroll down. I use the spoiler shortcode on another
   site and it doesn’t do that so I’m realizing it must be my theme and the fact
   it has a fixed header background. What are my options on changing the way the
   text opens? Is there a way to expand onscreen instead of disappearing downward
   and forcing me to scroll down to view the spoiler text? I tried to include the
   accordion shortcode to wrap multiple spoilers to see if that will help but it
   doesn’t.

The topic ‘Using Spoiler Shortcode with a fixed header background theme’ is closed
to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

## Tags

 * [fixed background](https://wordpress.org/support/topic-tag/fixed-background/)
 * [fixed header](https://wordpress.org/support/topic-tag/fixed-header/)
 * [spoiler](https://wordpress.org/support/topic-tag/spoiler/)

 * 0 replies
 * 1 participant
 * Last reply from: [christina214](https://wordpress.org/support/users/christina214/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/using-spoiler-shortcode-with-a-fixed-header-background-theme/)
 * Status: resolved