align center issue

  • Posted in : Photographer
  • dtbsz
    Participant

    Hello,

    On the following page: http://dogpaparazzi.com/about-2/

    Can somebody tell me why the content area isn’t aligned to center?

    Where can I fix this?

    On the rest of the pages everything works fine. Also if I put only text on the page it also works fine but as soon as I put a photo in it fails.

    Thanks in advance!

    serkan
    Moderator

    When you put a photo on a page, on the visual side, you should choose it aligncenter.
    You can change it to alignleft or alignright. It is not choosing automatically.
    Regards.

    dtbsz
    Participant

    I think you misunderstood me :)

    I know how to align the text / pictures. In this particular case the text is aligned to the left and the image to the right.

    But the text and photo, all together as one body is not center aligned.

    For comparison:
    Check the landing page for example or any other: http://dogpaparazzi.com/
    And the about page: http://dogpaparazzi.com/about-2/

    The text is aligned center (compared to the header/menu) but the image is sticking out and is off balance.

    Do you see what I’m saying?

    I’d like the text and photo as one unit to be aligned centered under the header like on all the other pages. I don’t want the photo sticking out.

    How do I do that?

    serkan
    Moderator

    Hi dtbsz,
    Please use this custom css codes;

    @media screen and (min-width: 1200px) { 
    	.content-area:not(.with-sidebar) .alignright, .content-area:not(.with-sidebar) .wp-caption.alignright {
    		margin-right: 0; margin-left: 2em;
    		}
    	.content-area:not(.with-sidebar) .alignleft, .content-area:not(.with-sidebar) .wp-caption.alignleft {
    		margin-left: 0; margin-right: 2em;
    		}	
    }
    dtbsz
    Participant

    You sir are a Nephalem! :D

    Thank you!!

    serkan
    Moderator

    You’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register