Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1085533

    Hi There,

    I want to give the img inside the blogpost (feat. img) the following additional styling:

    .img, a img {
    height: 280px;
    object-fit: cover;}

    However, somehow I cannot find the correct ID/Classes to only apply this code to the feat img on the blog-entry pages.
    (Screenshot in private section)

    Could you provide me with the correct ID/Class or code?
    Thanks

    #1085631

    Hey Raphael,

    Please provide a link to the site/page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #1086606

    Hi Jordan,
    See link below (should then work for all blog posts)
    Thanks

    ps one additional question, is it also possible to set the image in a way that it is not display the center section of the uploaded image but the top?

    #1086680

    Hi,

    Add this to quick css:

    .big-preview.single-big img, 
    .big-preview.single-big a img {
    height: 280px;
    object-fit: cover;}

    Best regards,
    Jordan Shannon

    #1086913

    Looks like it works :) thanks Jordan

    #1087150

    Hi,

    Perfect! I’m happy to help. If you need anything else, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘CSS tageting only the blogpost img’ is closed to new replies.