Okay
  Public Ticket #2138639
Pictures in posts are too big
Closed

Comments

  • George started the conversation

    Dear support,

    I have a problem with the blog pages. The pictures that are used as featured image inside a blog post are too big when inserted and I cannot resize them. Please advice.


    Thank you

  •  8,993
    Tahir replied

    Hey Again,

    Change the value as per your liking. 

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    .single article.post .content-inner .post-featured-img img {
        max-height: 350px !important;
        width: auto !important;
    }

    Thanks


    ThemeNectar Support Team 

  • George replied

    Nice! Can we also have the picture centered inside the post. Now it is align on the left.

    Thank you

  •  8,993
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    .single article.post .content-inner .post-featured-img img {
        margin: auto !important;
        display: table !important;
    }

    Thanks


    ThemeNectar Support Team