hi,
on my page i use the portfolio raster (grid) to show portfolios. The Design work fine on desktop pc. But on small screens the responsive Design does not work fine. The first item of the portfolio raster gets another size than the other items (look at the sreenshot) How can i fix this problem? I want that the first item of the portfolio raster (grid) gets the same size than the other items in the portfolio raster.
screenshot
Thanks for help!
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
function disable_srcset( $sources ) {
return false;
}
add_filter( 'wp_calculate_image_srcset', 'disable_srcset' );
Cheers!
Josue
thanks for your answer Josue.
But the code doesnt work, the problem is still present. Any other suggestion?
Cheers Chris
Hey!
Which device are you using? here’s what i see – http://screencast.com/t/t5h0PlVZ
Regards,
Josue
Hi Josue,
it did not work when i choose in the google Chrome console the option responsive or ipad.
best regards
Chris
Hey!
Try adding this code to the Quick CSS:
@media only screen and (max-width: 767px) {
.responsive #top #wrap_all .grid-sort-container .grid-entry {
width: 100% !important;
}
}
Cheers!
Josue
thanks, worked fine :-)