Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #980639
    terzhi
    Participant

    Hi,

    Currently, I am playing around with the index feature post layout image option in ethos.

    I have attached image to see how it would look. However, the images are being cut off. Including the post slider blog option.

    Is there a specific size that the images have to be, so it can fit perfectly in the image post. Or is there an edit I can do, so regardless of it size, it will fit perfectly in the box.
    or
    Is there an edit I can do that can re-arrange the position of the image, so I can choose which area is to be displayed.

    I will like an option where I can edit the image position or size, on how it will display for different images.

    Thanks.

    #980641
    terzhi
    Participant
    This reply has been marked as private.
    #980782
    Christopher
    Moderator

    Hi there,

    The featured image dimensions should be around 1200*800 px.

    Your images are square while the frame is rectangle so they don’t fit perfectly.

    Thanks.

    #980790
    terzhi
    Participant

    Hi,

    Cool. I understand your explanation.

    However, is there a way I can change the feature post from a rectangle to a square shape instead??

    Thanks

    #980805
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> CSS :

    .x-full-width-layout-active.x-content-sidebar-active a.entry-thumb.featured {
        width: 50%;
        margin: 0 auto;
    }
    .x-flexslider.x-post-slider {
        width: 50%;
        margin: 0 auto;
    }

    Hope it helps.

    #980809
    terzhi
    Participant
    This reply has been marked as private.
    #980814
    Rue Nel
    Moderator

    Hello There,

    To display the full image, you can make use of this custom css code:

    .x-post-slider .x-post-slider-entry,
    .x-full-width-layout-active.x-content-sidebar-active a.entry-thumb.featured {
      background-position: top center; 
      background-size: contain;
    }

    To eliminate the white spaces at the left and right of the image, you can just remove the background-size: contain; in the code.

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-980639 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>