Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #688088

    Hi GUys,

    Thank you for your theme, it’s rocks.

    I customized a slider and an image on the same row to force their height to be 450px.
    It’s a portfolio item.

    I have a lot of portfolio item and i have to set them all the same.

    So I using a custom code that is like:
    .postid-312 .avia-slideshow li img, postid-303 .avia-slideshow li img,…. {
    width:auto;
    height:450px;
    }
    and
    .postid-312 img.avia_image, .postid-303 img.avia_image,…
    width:auto;
    height:450px;
    }

    It works fine but is there a way to replace “.postid-312” by “all portfolio items”?
    My code will be optimized and I won’t have to add any more code every time a new portfolio item is created.

    Many thanks in advance fr your helps Guys,

    #688089

    what about

    .single-portfolio .avia-slideshow li img {
    width:auto;
    height:450px;
    }
    
    .single-portfolio img.avia_image {
    width:auto;
    height:450px;
    }

    or as long the values are identical to each other:

    .single-portfolio .avia-slideshow li img, .single-portfolio img.avia_image {
    width:auto;
    height:450px;
    }

    by the way if you having same problem for normal posts you can take single-post or if values are the same take single

    • This reply was modified 8 years, 3 months ago by Guenni007.
    #688092

    a big THANK YOU Guenni007! You rock!

    it’s working perfectly.

    Have a nice sundy!

    PS: thanksfor the “single-post” type. I guess i can also do “page-single” if necessary. Thanks so much!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Replace .postid-300, .postid-301… by ".all-my-portfolio"’ is closed to new replies.