Remove masonry
-
Although reluctant to butcher a good theme, with text- rather than image-heavy posts I prefer to not have the masonry effect.
I’m currently working-through removing it, but understanding this stuff isn’t easy for me… so I’m hoping somebody can help.
So far, with a child theme, I’ve dequeued the script:
function remove_scripts() {wp_dequeue_script( 'masonry' );} add_action( 'wp_enqueue_scripts', 'remove_scripts', 20 );I’m now reworking the css – changing the width of ‘.posts .post-container’ to match that of appropriate containers on other pages, and removing the italic from ‘.post-excerpt p’.
But the padding/margins need increasing to match the style of individual posts, and then there’s the smaller screen sizes to look at…. AAAARRRGHHHH! 🙂
So yeah… suggestions appreciated – please and thanks.
The topic ‘Remove masonry’ is closed to new replies.
