Remove content in category masonry

  • Posted in : Read WP
  • ireneorozco
    Participant

    Hi!

    Here again, sorry. We want in masonry category view display only feature image and title. Is it that possible?

    Also, is it possible to change from 4 column to 3?

    Thank you!!

    ahmetsali
    Keymaster

    Hi,

    1-) try this custom css code;

    .blog-masonry .hentry .entry-content  { display: none; }
    

    2-) Edit js/main.js in theme folder in a text editor, and find line: 533, you will see;

    var viewports = [ {
    		width : 1900,
    		columns : 5
    	}, {
    		width : 1200,
    		columns : 4
    	}, {
    		width : 768,
    		columns : 3
    	}, { 
    		width : 480,
    		columns : 2
    	}, { 
    		width : 0,
    		columns : 1
    	} ];
    

    change it to

    var viewports = [ {
    		width : 1900,
    		columns : 4
    	}, {
    		width : 1200,
    		columns : 3
    	}, {
    		width : 768,
    		columns : 3
    	}, { 
    		width : 480,
    		columns : 2
    	}, { 
    		width : 0,
    		columns : 1
    	} ];
    
    ireneorozco
    Participant

    im having problems with my internet provider to access to the ftp (i´ll try tomorrow in another house with other intenet company) but first, can i access without ftp to js/main.js?
    Thank you!

    ireneorozco
    Participant

    it works without changing js/main.js
    thank you!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register