Centering body
-
Trying to center text and image 800 pixles wide to center with the header.
When I select the center align button in the edit post window, the 800 pixel wide image auto resizes the image to 400.
When I do not select this button the image shows up 800 pixels and off set to the right.
looking for a css code to align the whole sha-bang! Thanks.
The blog I need help with is: (visible only to logged in users)
-
I looked at http://alexmertzphotography.wordpress.com/ and I see one image which is showing up as 500px wide even though you’ve set the #site-wrapper width and the limit width on the Appearance → Custom Design → CSS page to be 900px.
I’m not sure why that one image is stuck with the smaller width, but I don’t think it’s because of the center alignment. It almost seems like you’ve previously inserted an image, then updated CSS and/or limit width and/or Settings → Media settings after that and the image is kind of stuck. As a test, could you please try opening that post and removing the image and then re-inserting it from the media library and then re-save the post to see if that fixes the problem in that particular post for you?
https://alexmertzphotography.wordpress.com/wp-admin/post.php?post=48&action=editIf you see the problem happening in any other posts, could you provide direct links to those?
-
I noticed one other thing. You’ve copied the entire original theme stylesheet into your Appearance → Custom Design → CSS page and have selected the “Add my CSS” option in the CSS Settings. In that case, you don’t need to copy all of the styles, and if you don’t adjust things like the url() values, then it could break some things. The better way to do it is to just add CSS rules for the things you want to update (like the Manifest #site-wrapper width) and leave the rest of the CSS out so that the normal stylesheet will cover those things. It makes it much easier to work with the custom CSS if you do it that way.
https://alexmertzphotography.wordpress.com/wp-admin/themes.php?page=editcss
-
With some tinkering I seem to have resolved the issue earlier this morning!
Thank you very much for your help! -
- The topic ‘Centering body’ is closed to new replies.