Tagged: Portfolio
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,
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
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!