I have set the responsive layout max-width to 1210px for my site but I’d really like my single-product pages to have a max width of 1030px. I know how to target a particular page and change the max width;I use a css plugin that adds a custom css metabox to the page editor, and I simply include the following rule:
.responsive .container {
width: 1030x !important;
}
.responsive .container .twelve.units {
width: 1030px !important;
}
but I can’t think of how to do it for each product. Can you help me? Thanks
Hey Tali!
Maybe, you can use the single-product selector.
.responsive .single-product .container {
width: 1030x !important;
}
.responsive .single-product .container .twelve.units {
width: 1030px !important;
}
Regards,
Ismael
That got me on the right track. Ended up adding this to my custom css:
/* #Desktop - Extra Large - Product
================================================== */
@media only screen and (min-width: 1340px) {
.responsive_large .single-product .container .four.units {
width: 310px;
}
.responsive_large .single-product .container .eight.units {
width: 670px;
}
.responsive_large .single-product .container .twelve.units {
width: 1030px;
}
}
/* #Desktop - Product - Large
================================================== */
@media only screen and (min-width: 1140px) {
.responsive_large .single-product .container .four.units {
width: 270px;
}
.responsive_large .single-product .container .eight.units {
width: 590px;
}
.responsive_large .single-product .container .twelve.units {
width: 910px;
}
}