Css image management help

  • Author
    Posts
  • #33412

    mi4biz
    Member
    Original poster

    Hi,
    for graphic purposes we needed to resize the width of the picture in the homepage in this way:
    .post img {
    width: 450px;
    height: auto;
    min-height: 250px;
    }
    but this setting is impacting also the pictures in the posts.
    How can I be free to include any size pictures in the posts while controlling the homepage ?
    Thanks

    #33550

    sillyandrea
    Member

    Hi!

    You can stick a .home class in front so the css only applies to the home page. :)

    #33551

    mi4biz
    Member
    Original poster

    Please,
    can you please provide more details/example, or some useful link-

    I need to drive our developer :))
    Thanks

    #33552

    sillyandrea
    Member

    You’d write it out like this:

    .home
    .post img {

    #33553

    mi4biz
    Member
    Original poster

    ok, thanks

The topic ‘Css image management help’ is closed to new replies.