Hi, you can do that with CSS. Just include a custom CSS file using the css_style parameter, download and tweak the default style, blocks classes are found from line 525:
nlp-defaultStyle.css
.nlposts-block-container .nlposts-block-item {
float:left;
display:block;
width:45%;
margin-left: auto;
margin-right: auto;
margin-right: 5px;
}
Take a look at the width which is 45% by default, you’ll have to change that the desired value, maybe to 30%, if you do so, then it’d look like:
.nlposts-block-container .nlposts-block-item {
float:left;
display:block;
width:30%;
margin-left: auto;
margin-right: auto;
margin-right: 5px;
}
Replace the default style rule by this one, save the CSS file with a custom name nlp-jakub.css for example, put the file into your WordPress active theme folder /wp-content/themes/my-theme/nlp-jakub.css, finally in your shortcode or widget:
// Shortcode
[nlposts ....other options.... css_style=nlp-jakub]
// Widget
Put nlp-jakub into the CSS Stylesheet field
I hope this helps.
José SAYAGO
Wow! Works fine! You are amazing. Thank you so much.
I will tell everybody how use multisite that your plugin is “must have”.