• Hey Yall.

    I have been trying to customize a theme to match my website and I am running in to some difficulties. I have essentially no real knowledge of how to code a wordpress blog other than the basic html and CSS knowledge I used to build the website itself (very limited).

    It seem, however, that the sidebar, and the content of the blog are stuck inside of the header and are being affected and restricted by what defines the header, rather than what I am attempting to make them do.

    You can see my site here: http://www.davidperkinsphotography.com/blog

    and by removing “blog” you can backtrack to see the rest of the site and what I am trying to make it look like.

    I can not understand how to separate the header and the side bar, and the other elements. I have removed the “wrap” which helped sole the issue of EVERYTHING being inside of the header… but now I can not get the rest out of it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Phil

    (@owendevelopment)

    Everything is still stuck in the header:

    <div id="header">
       <div id="header-title">...</div>
       <div id="content">...</div>
       <div id="sidebar">...</div>
    </div>

    You’ll need to take the sidebar out of the header div for it to be independant.

    Phil

    Thread Starter dwpphoto

    (@dwpphoto)

    I don’t see where to fix that though. When I look at the source code, and when I look at the code in word press, they are not under the div tag for the header.

    <div id="container">
    	<a name="top"></a>
    	<div id="header">
    		<div id="header-title">
    			<div align="left"> <img src="http://www.davidperkinsphotography.com/images/LOGOBANNER.jpg">
    <p align="right">dancers <span class="style2">&</span> models</p>
    </div>
    
    	<!-- end #header --></div>
    <div id="content">

    Thread Starter dwpphoto

    (@dwpphoto)

    Ok so, I just deleted the “header-title” div id and it is now working properly…

    Does that means that somewhere in the code, the header-title tag wasn’t closed, or was after the sidebar somewhere?

    Phil

    (@owendevelopment)

    It may be that the div starts in header.php and ends at the top of sidebar.php maybe – it depends on how the theme has been constructed.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Content and Sidebar Stuck in Header?’ is closed to new replies.