WordPress.org

Support

Support » Themes and Templates » Ridizain » [Resolved] images cut off on left side

[Resolved] images cut off on left side

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Brian Harris

    @zgani

    If you want to use the alignleft/alignright options for your images then you’ll need to reduce the value for the content area.

    There’s about a -168px pull on either one of the alignments so you’ll need to take that in to consideration when setting the content width.

    Alternatively you can use a custom CSS plugin and add the following code to adjust the pull – amend according to which alignment is used….

    .full-width .site-content blockquote.alignleft,
    .full-width .site-content img.size-full.alignleft,
    .full-width .site-content img.size-large.alignleft,
    .full-width .site-content img.size-medium.alignleft,
    .full-width .site-content .wp-caption.alignleft {
    	margin-left: -168px; /* Change this value */
    }

    Remember to remove the elements you do not want to adjust.

    Regards,
    Zulf

    that seems rather complicated. I don’t really want to use align left and align right options, I just don’t want the left 50 or so pixels to be cut off on my photos. It seems like adding 50 pixels of blank space to the left of each image would be simpler since I don’t really understand your post.

    I’m not a coder =/

    Theme Author Brian Harris

    @zgani

    The solution is very simple – there’s no need for coding.

    1. Install this plugin: http://wordpress.org/plugins/simple-custom-css/

    2. Copy paste the code above in to the new plugins option page.

    3. Adjust the -168px to suit your needs – change to something like -48px.

    Check site to see the results and adjust accordingly till you are happy with the result.

    Alternatively you can wait a little while and I’ll have the option to adjust those settings included in the theme at the next update.

    Regards,
    Zulf

    worked like a charm, thanks!

    Theme Author Brian Harris

    @zgani

    Cool – you are most welcome 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] images cut off on left side’ is closed to new replies.
Skip to toolbar