• Resolved dave

    (@mozdzanowski)


    Hi,

    I’m having a real problem with getting my content to align correctly. I’m trying to float my content div, “post,” to the left, and my sidebar to the right. For some reason the content div is being centered, and then only the first “post” div when there’s more than one(like on the blog page), although I’m calling the same class for each.

    The site I’m working on is here: https://thegallerymusic.com/testing

    Have a look at a regular page (the content is centering, ie. display: block, from some random user agent stylesheet) and then look at the blog (the first post is centering, while the rest are floating left correctly).

    I’m at a loss. Probably simply overlooking something. Thanks for any help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your vintage girls logo’s white space is barely blocking your post. Just reduce the white space in the logo.

    Thread Starter dave

    (@mozdzanowski)

    perfect! thanks so much. just a tired oversight. i appreciate it.

    Thread Starter dave

    (@mozdzanowski)

    …sorry, another quick question:

    On the blog page of the site I previously posted, the sidebar is being pushed to the bottom, whereas on other pages it’s in the right spot. I’m using the same page template for the blog as for the other pages. I checked the divs and things around it, so I’m sure this is another little thing I’m overlooking.

    Any ideas? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘First "post" centered with all styles cleared…user agent stylesheet?’ is closed to new replies.