• gulliver

    (@gulliver)


    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)
  • Here is mine:

    style.css child theme:

    @import url("../fukasawa/style.css");
    
    .posts .post-container {
    	width: 100%;
    }
    
    .post-excerpt p {
    	font-style: normal;
    }
    
    .post-excerpt {
    	margin-left: 32px;
    	margin-right: 32px;
    	margin-bottom: 32px;
    }
    
    .posts .post-title {
    	font-size: 2em;
    	margin-left: 32px;
    	margin-right: 32px;
    }
    
    .posts .post,
    .posts .page {
    	padding-top: 0px;
    	padding-left: 0px;
    	padding-right: 0px;
    	padding-bottom: 1px;
    }

    Thread Starter gulliver

    (@gulliver)

    Thanks. Appreciated. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove masonry’ is closed to new replies.