Help With My Wordpress Theme

10 replies
Hello,

I was wondering if someone could give me a hand on my Wordpress Theme? For some reason it is not staying lined up when I navigate to another page. Please allow me to give you an example:

When I go to my home page here: Building Your Business Online everything looks like I want it to.

But when I click on the title of one of my written articles like this one here: Offline Internet Marketing Tips | Building Your Business Online then my widgets to the right move to the bottom of my page, when I would not want tis to happen?

Doe anyone know what the problem may be?

Thanks so much for any help!
#theme #wordpress
  • Profile picture of the author theunknownthem
    I think it may have one too many </div> tags on the article page somehow. It would help to see the style sheet and css file if there is one instead of trying to read it with all the extra code inserted.

    Things like this:
    <div class="pagenavi"></div>

    is why I insist upon writing static websites by hand instead of Frontpage or what not. Extra, useless clutter. I'm sure that is wordpress' doing and not yours
    {{ DiscussionBoard.errors[1764967].message }}
    • Profile picture of the author Jason Fladlien
      The problem is the code either on your post.php page or in your css file...

      What is happening is the content container in your posts is indented slightly to the right... thus making your sidebar "spill over" so to speak underneath it... because it doesn't have room to fit both the content area and the sidebar side by side.

      If you could copy and paste the single.php file and the index.php template I could probably find the answer for you in no time.

      Or the quick solution is to modify the css file to make this:

      .postwrap {
      float:left;
      width:605px;
      padding:10px;
      position: relative;
      left: 25px;
      background: #FFFFFF;
      border: 1px solid #D2D2C6;
      margin-bottom: 12px;
      }


      into a smaller width...
      Signature

      Co-creator of WP Twin. Perhaps the most expensive yet most reliable wordress cloning tool on the market. We've definitely been used more successfully than all other options :)

      {{ DiscussionBoard.errors[1765042].message }}
    • Profile picture of the author koolphoto
      Your css coding is a little messy.

      It looks to me that one of your columns is too wide. For example if your wrap div is 1000 px and if you add up the total of all your columns it has to equal or be a little less then 1000px including margins and padding. If the total is larger, the wrap div doesn't expand so one of the columns will drop down underneath the other since it doesn't have room.

      I am using the dimensions as an example, I haven't really looked at the code thoroughly, but width is usually the case for a div to drop down under another one.

      You have to find in the code which div is the culprit and reduce it a little. Css is finicky and everything must add up.
      Signature

      My name is Ken Katz and I am a Web Designer and Photographer. My motto: "If you really want to do something, you'll find a way. If you don't, you'll find an excuse." -Jim Rohn

      Celebrity Portrait Photgapher - My Photography Portfolio.

      {{ DiscussionBoard.errors[1765068].message }}
  • Profile picture of the author SHA-Dre
    I think I just fixed your problem. Go into your CSS and find #content - Set the width to 1,000 px and see what happens.
    {{ DiscussionBoard.errors[1765107].message }}
    • Profile picture of the author fredjr1978
      Originally Posted by SHA-Dre View Post

      I think I just fixed your problem. Go into your CSS and find #content - Set the width to 1,000 px and see what happens.
      Ok, I tried this and it didnt work completely. It moved my home page right column to the bottom, but fixed it when you click on a post where it used to be broken. hmmmmm
      {{ DiscussionBoard.errors[1765214].message }}
  • Profile picture of the author Quentin
    Thats the trouble with a lot of themes they do not have good code.

    If you go into your dashboard and say use a wordpress generic you will find it should work fine.

    The solution is either get a better theme or increase the size of the area where you post. This is usually in the CSS under container or body.

    Copy the link below into your browser for a tutorial.

    slideshare.net/msincome/wordpress-css-editing

    Quentin
    {{ DiscussionBoard.errors[1765297].message }}
  • Profile picture of the author SHA-Dre
    Your theme looks ok to me now. What browser are you using? I'm using Chrome and it looks fine.
    {{ DiscussionBoard.errors[1766800].message }}
  • Profile picture of the author Istvan Horvath
    My guess is the code produced when you close the comments... is not good.

    When the comments are NOT closed, the single post displays OK. Like on the latest post.
    When the comments are closed - the sidebar drops down.

    This is what I noticed checking out a few posts on your main page.

    Not sure it would fix it but it's worth a try.
    Signature

    {{ DiscussionBoard.errors[1776665].message }}
    • Profile picture of the author fredjr1978
      Originally Posted by Istvan Horvath View Post

      My guess is the code produced when you close the comments... is not good.

      When the comments are NOT closed, the single post displays OK. Like on the latest post.
      When the comments are closed - the sidebar drops down.

      This is what I noticed checking out a few posts on your main page.

      Not sure it would fix it but it's worth a try.
      Thank you so much! That worked!!! Finally..

      Thanks so much.
      {{ DiscussionBoard.errors[1777046].message }}

Trending Topics