Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6252935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:53:54+00:00 2026-05-24T13:53:54+00:00

I use wordpress. user: user pass: 123abc I wish the title of the post

  • 0

I use wordpress.

user: user

pass: 123abc

I wish the title of the post always fixed when scrolling page.
http://www.correnteparaobem.com.br/onde-se-encontra-a-casa-de-deus

For example:

We opened an article, the title we have in place standard.
Once down the page, it keeps it on top of the site.
When climbing the screen, he returns to the place of origin.

I tried to guide me through this tutorial: http://pt.w3support.net/index.php?db=so&id=1216114

I changed the title to a div:

< div class="postheader"> < ? php the_title ();> < / div>

I tried the css:

. postheader {

margin: 0.2em 0;

padding: 0;

font-size: 18px;

color: # 3f5e73;

background-color: # ffffff;

     color: # 3f5e73;
     height: 30px;
     position: absolute;
     top: 0px;
     width: 400px;
     z-index: 100;
}

And in the body, this script:

$ (window). scroll (function (e) {

   $ el = $ ('. postheader');

   if ($ (this). scrollTop ()> 0 & & $ el.css ('position')! = 'fixed') {

     $ ('. postheader'). css ({'position': 'fixed', 'top': '0 px '});

   }

});

Not getting results

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T13:53:56+00:00Added an answer on May 24, 2026 at 1:53 pm

    In CSS, use position: fixed;. Also, check for extra spaces in your code…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use this function: http://www.frankmacdonald.co.uk/php/post-to-wordpress-with-php.html Its used to post to Wordpress using
I have a hierarchical treeview in WPF. I use http://marlongrech.wordpress.com/2008/12/13/attachedcommandbehavior-v2-aka-acb/ for eventbinding with the
I want to use purely numerical permalinks for my wordpress page .As it is
Is there an option besides Drupal or Wordpress to use to allow the user
I tried out the solution found here: https://wordpress.stackexchange.com/questions/33552/how-to-use-tinymce-for-user-biographical-info-without-messing-with-any-core-fi/33575#33575 and added it to my plugin
I want to use the user structure in wordpress for a website, but when
I'm watching at this page: http://leeontech.wordpress.com/2010/02/01/summary-row-in-datagrid/ But they're using silverlight. I'm trying to create
I am trying to integrate my site to use the bbpress/wordpress user system. All
t-sql I tried to read the difference between UDF and sprocs, here http://realfantasy.wordpress.com/2009/01/05/sql-server-user-defined-function-udf-vs-stored-procedure-sp/ Do
I'm trying to learn MySQL queries for use with Wordpress.... What I do know

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.