Jump to content
  • 0

Freezing HTML Header


ababcock

Question

I am trying to figure out a way to freeze the actual header on a results page. I know how to freeze the header row (the titles of each column), but I'm talking about the HTML Header above all of that. I have inserted info into this that I would like to scroll with the user as they go down the page. Is this possible?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hello! To free the header of your Results page, you can try this CSS code but make sure to click the 'Source' button first before you paste this. 

<style>
header{
     position: sticky !important;
      top: 0 !important;
      z-index: 1;
      background: #FFFFFF;
}
</style>

image.thumb.png.0b1b4816a6de9f4bd419f5104b6f5326.png

image.thumb.png.323c6e65f97fcb21352eb87ee3c4bd65.png

 

Link to comment
Share on other sites

  • 0

Hi, would want to leave it here in case you want to have a sticky header on a Calendar DataPage:

<style>
nav.cbResultSetCalendarStickyHeader {
position: sticky !important;
top:0;
} 

body {
 margin-top: 0px;
}
</style>

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...