WordPress.org

Ready to get started?Download WordPress

Forums

Falling Sidebar, Below Page Content (3 posts)

  1. David_1
    Member
    Posted 1 year ago #

    Hello Friends,

    I wonder if anyone could assist me on a Sidebar issue.

    I am using my ‘Child’ of the Twentyten Theme.
    Link to the page is: http://i-brand.ca/testsite/

    For some reason the Sidebar is lost below the page content. I have read quite a few posts on the topic, but have yet to figure out what is causing this in the case of my site. I am actually trying to get the Sidebar (Archive etc area) to sit inside the lower half of the page just below the button called “How’s The Market?” on the right side.

    If anyone has any ideas on what I could look at to fix this, I would be very grate full hearing from you.

    Many thanks for your time, your thoughts and help.

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    there possibly is some broken code in header.php (?):

    expressed in these validation errors:
    http://validator.w3.org/check?uri=http%3A%2F%2Fi-brand.ca%2Ftestsite%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    this is the section when viewing the html code in the browser:

    <div id="branding" role="banner">
    								<h1 id="site-title">
    					<span>
    						<a href="http://i-brand.ca/testsite/http://i-brand.ca/testsite/wp-content/themes/twentyten-child/images/headers/jhdr.jpg" 					</span>
    				</h1>
    				<div id="site-description"></div>

    possibly broken with trying to insert an image code (??)

    the original section would be:

    <div id="branding" role="banner">
    				<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
    				<<?php echo $heading_tag; ?> id="site-title">
    					<span>
    						<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
    					</span>
    				</<?php echo $heading_tag; ?>>
    				<div id="site-description"><?php bloginfo( 'description' ); ?></div>

    start by fixing that area, then continue checking the html validation of your site:
    http://codex.wordpress.org/Validating_a_Website

  3. David_1
    Member
    Posted 1 year ago #

    Hello Alchymyth, The Sweeper:

    Thank you for your thoughts. I will take a look at that for sure. I think somehow the Sidebar is got itself outside the Container and/or Content as it sits below the page content.
    I have also been trying to see if the sizing of my Width could be affecting this. Reason being is when I Activate the Twentyten Theme, the Sidebar comes up to where I need it. However, for some reason when I Activate my Child theme, it gets pushed where it is now below the page content. Not sure why it would do this, but if anyone else has any ideas as to what I could look at, I would be very happy and thank full hearing from you.

    Thank you again Alchymyth, The Sweeper. I sincerely appreciate all the help I receive!

Topic Closed

This topic has been closed to new replies.

About this Topic