Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1423624

    Hi,

    I want to know the exactly proportions for image in Blog Posts element / Grid Layout style, in order to fill the entire space. At this moment, a white background is displayed at the ends of the width – https://novosite.graphitheque.net/#noticias.

    In alternative, please give me the css code to change that white background-color.

    Thanks

    #1423646

    Hey diogovareta,

    Thank you for the inquiry.

    This will depend on the number of columns and the maximum container width. If there are two columns for example and the maximum container width is set to 1320px, the minimum width of the images should be at least 660px or larger.

    Best regards,
    Ismael

    #1423680
    This reply has been marked as private.
    #1423751

    Hi,

    Thank you for the update.

    As you can check the image dimensions placed on that Blog Posts element are 724px x 724px larger than the 655px

    We forgot to mention that the default thumbnail used by the Blog Posts element is called portfolio, which has a maximum width and height of 495px. You can increase the size of this thumbnail by using the avf_modify_thumb_size filter in the functions.php file.

    add_filter( 'avf_modify_thumb_size', 'avf_modify_thumb_size_mod', 10, 1 );
    function avf_modify_thumb_size_mod( $size ) {
       $size['portfolio'] = array('width'=>1000, 'height'=>1000);
       return $size;
    }

    After adding the filter, you have to regenerate the thumbnails with this plugin.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    To adjust the background color of the image container, please add this css code.

    .main_color .avia-content-slider .slide-image {
        background: transparent;
    }

    Best regards,
    Ismael

    #1423937
    This reply has been marked as private.
    #1424030

    Hi,
    I changed the image size to No Scaling (Original Width X Original Height) in the blog element, it seems to fit correctly now. Please check.

    Best regards,
    Mike

    #1424037

    Hi Mike,

    This is perfect now!
    Many thanks for your support.

    Have a great day.

    #1424041

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Blog Posts element / Grid Layout style’ is closed to new replies.