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.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Remove masonry’ is closed to new replies.