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 6065385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:23:03+00:00 2026-05-23T09:23:03+00:00

I have been modifying a wordpress theme and as I just began to put

  • 0

I have been modifying a wordpress theme and as I just began to put content in the pages, I noticed the h2 header is displaying below the content (see here:http://mefo1.ecin1prod1lnx1.com/about/history/). I can’t seem to find an explanation.

Below is the page.php code. I am happy to PasteBin any other code that might be needed.

Thank you very much,

Alex

<?php get_header(); ?>
<script>

jQuery(document).ready(function(){
    jQuery(".share").click(function(){
      jQuery(this).next("div").slideToggle("slow");
        jQuery(this).toggleClass("active"); return false;
    });

});

</script>


        <div class="posts-column">

        <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
        <?php include(TEMPLATEPATH . '/includes/share.php'); ?>



                            <div class="entry">
                            <?php the_content(); ?>
                            </div>
                            <div class="clear"></div>
                        <?php endwhile ?>   

                             <div class="clear"></div>
                            <h2 class="page"><?php the_title(); ?></h2>

                        <?php else : ?>

                            <h2 class="center">Not Found</h2>
                            <p class="center">Sorry, but you are looking for something that isn't here.</p>
                            <?php include (TEMPLATEPATH . '/searchform.php'); ?>    

                        <?php endif; ?>                 


        </div><!--end posts-column-->

<?php get_sidebar(); ?>

<?php get_footer(); ?>
  • 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-23T09:23:04+00:00Added an answer on May 23, 2026 at 9:23 am

    Read what @Shaun said. Remember, divs are block elements by default which means they will grow to take up as much room as they need. This forces any sibling blocks to start below unless otherwise specified through css. Move your h2 to the top of the document. Normal document flow is left to right, top to bottom so your first div (with class “entry”) will be displayed as a block level element (since you didn’t specify otherwise) and it’s sibling will be rendered below hence why your h2 element is not where you expect.

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

Sidebar

Related Questions

Have been looking at the MVC storefront and see that IQueryable is returned from
I have been modifying the code here: WhereIsMyMac to try and get a better
I have been tasked with taking an existing WinForms application and modifying it to
I've been modifying/editing parts of the Android platform, but have run into a problem
Greetings all, As someone new to ASP.Net, I have been modifying web.config files for
Another co-worker and I have been heavily modifying the PHP Zookeeper extension but the
I have been working on modifying an existing FLVPlayback skin. Ideally I would like
Ive been modifying a form today, and testing it in Chrome. I noticed that
I have been completely puzzled by an issue I just came over in my
I have been modifying my containers to be STL compatible. I have modified my

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.