Okay
  Public Ticket #2738209
Material mansory blog size fixed
Closed

Comments

  •  7
    Max started the conversation

    Hello,

    Is there any way to fixe the size in the mansory blog size material type ?
    https://www.bysolou.com/home/

    I saw it in "Related posted" at the end of an article : (https://www.bysolou.com/2021/03/30/test/)

    Thank you

  •  8,847
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    .post-area.masonry.material .post .post-featured-img img {
        max-height: 250px !important;
        object-fit: cover;
    }

    Thanks


    ThemeNectar Support Team 

  •  7
    Max replied

    hello Tahir,

    It's better because the images have the same size... Can I fixe the size of the text too?

    Thank you a lot

  •  8,847
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    .masonry.material .masonry-blog-item .article-content-wrap .excerpt {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    Thanks


    ThemeNectar Support Team 

  •  7
    Max replied

    Hello Tahir,

    It works, thank you a lot :)