• Hello,

    I have been attempting to modify the main page of a WP site. The site is using the Score Theme which other than the issues with me modifying it, has been working well.

    What I was attempting to do is make an “upper” section with 3 posts of a different type (as the main 10 posts on the page) – and I was using $get_posts() and pass in an array with the specifications I need. To keep the look similar, I ended up copying some of the “post layout” and putting it the new foreach for the new “upper part”.

    I’ve been able to figure most of it out, but the side_bar is lining up with the original “content” div and not with the “upper_content” div. I have tried float:left but that doesn’t change anything with the side_bar placement AND then the links in the post preview don’t work.

    I’m just not sure what I need to do to get the side_bar lining up with my uppermost content.

    reviewyourgame.staging.wpenging.com

    Thanks for looking…

Viewing 1 replies (of 1 total)
  • The site is using the Score Theme which other than the issues with me modifying it, has been working well

    Are you using a Child Theme? If not, your edits likely will be lost on theme update…

    That said, just add your new upper section in the proper container <div> and it will take the shape of your page(s)…that is, the content area is narrower when a sidebar is in use…it appears you may be adding this in a div that is not contained in the proper container…While the link helps with CSS layout issues, it will not help with the theme in use and PHP issues…

Viewing 1 replies (of 1 total)
  • The topic ‘side_bar not linging up with content’ is closed to new replies.