Comments Marco started the conversationFebruary 26, 2015 at 4:55amHello!My customer asking if is it possible to change the category layout.He doesn't want a list of the post previews, but just a full row list... (not a grid, just like having a div just to show full articles)I asked for more details, but I just checked and I don't know if categories can be changed within WP or if I have to change the PHP file...Thanks!Marco repliedFebruary 26, 2015 at 5:41amalso, how can I change this?<article id="post-1362" class="post-1362 post type-post status-publish format-standard hentry category-recensioni-utenti pull-left box masonry-brick" style="position: absolute; width: 370px; left: 0px; top: 0px;">I cannot find where is the 370px value within the code...If I change that inline style diectly in the browser, I achieve waht my customer wants, but I don't know where to edit...I found the content.php and archive.php but no trace of that inline style... 93 djwd repliedFebruary 26, 2015 at 2:53pmHi there,1. You would need to customize the template files archive.php and content.php to change the way category pages list articles.2. That is because block sizes are handled by Masonry js script, which is fired and customizable in admin/functions-extended/fn-js.php from line 119RegardsdjwdRegardsdjwdMarco repliedFebruary 26, 2015 at 5:01pmThank you! Here's why I cannot found "370px" inside the code! It's a 360 and I think it adds something within the JS.Nice!Listen, that Masonry Fire is used only within categories or elsewhere? Just to know if I modify it I'll get troubles on other pages.Thanks again! 93 djwd repliedFebruary 27, 2015 at 1:59pmHi there,No problem. Yes it's only used for articles blog listing, just backup your changes in case something screws up ;)RegardsdjwdRegardsdjwd Sign in to reply ...
Hello!
My customer asking if is it possible to change the category layout.
He doesn't want a list of the post previews, but just a full row list... (not a grid, just like having a div just to show full articles)
I asked for more details, but I just checked and I don't know if categories can be changed within WP or if I have to change the PHP file...
Thanks!
also, how can I change this?
<article id="post-1362" class="post-1362 post type-post status-publish format-standard hentry category-recensioni-utenti pull-left box masonry-brick" style="position: absolute; width: 370px; left: 0px; top: 0px;">
I cannot find where is the 370px value within the code...
If I change that inline style diectly in the browser, I achieve waht my customer wants, but I don't know where to edit...
I found the content.php and archive.php but no trace of that inline style...
Hi there,
1. You would need to customize the template files archive.php and content.php to change the way category pages list articles.
2. That is because block sizes are handled by Masonry js script, which is fired and customizable in admin/functions-extended/fn-js.php from line 119
Regards
djwd
Regards
djwd
Thank you! Here's why I cannot found "370px" inside the code! It's a 360 and I think it adds something within the JS.
Nice!
Listen, that Masonry Fire is used only within categories or elsewhere? Just to know if I modify it I'll get troubles on other pages.
Thanks again!
Hi there,
No problem. Yes it's only used for articles blog listing, just backup your changes in case something screws up ;)
Regards
djwd
Regards
djwd