Sydney Latest News - B

What can I add to the custom css plugin so that four news items appear at a time (desktop version) instead of three? My staged site can be found at http://www.triton-mfg.com/wordpress-dev/

Hi,

You can make 4 news to appear on desktop size only with this Custom CSS:

@media only screen and (min-width: 1200px) {
.owl-carousel .owl-item {
    width: 268px !important;
}
}

Please add the above CSS to your Child Theme’s style.css or in case you haven’t setup a Child Theme already, then you can also use this plugin to add the CSS to it: https://wordpress.org/plugins/simple-custom-css/ so you will not loose the changes on theme updates.

Please let me know how it works.

Best Regards,
Csaba

That works Csaba. The only thing is now there appears to be a blank “frame” when you select the dot (to navigate through all the posts) on the far right.

Can you look at this again? When I add your code to Simple Custom CSS, it also changes the employee section to four column, which I don’t need. Thanks.

Hi,

Ok, you can limit the Custom CSS only to that news widget with this Custom CSS:

@media only screen and (min-width: 1200px) {
#pgc-466-6-0 .owl-carousel .owl-item {
    width: 268px !important;
}
}

Please let me know how it works.

Best Regards,
Csaba