Alright, so I am trying to display posts like they are displayed on http://www.chicagomag.com/
They are separated by category, show one top image, and the rest are post titles.
How can I do this in the API or just on the TD composer?
Hello,
If you want to have only a top image and the rest just titles, you can simply do that with css, no custom coding required. You can simply use one of the theme blocks that has this sort of functionality but with different images like block 1 on 2 columns for example:
http://demo.tagdiv.com/newspaper/block-1/
You can hide the small thumbs with this code:
.td-block-span6 .td_module_6 .td-module-thumb{
display:none;
}
.td-block-span6 .td_module_6 .item-details{
margin-left:0;
}
result: http://screencast.com/t/oaeZXjpGJHD
You can even target paricular blopcks so you will not affect all blocks 1 at the same time by adding a custom css class on the row in visual composer.
You can also use block 2 :
http://screencast.com/t/DX8PO8MNJl
Or block 18 and 19. You ujust need to change up the css a bit.
Oh, and Block 17 already has this implemented: http://demo.tagdiv.com/newspaper/block-17/
Unfortunately you cannot separate each post by category. Our theme has no such option. You can filter specific posts in a block from the filter settings or specific categories but you cannot make the block pull each post in particular from a particular category,. There is no such depth added to the post filters. Sorry.
Thanks
Thank you for your timely response! I have been able to accomplish my goal.
I actually ended up combining block 3 and block 9 stacked into two columns.
I am curious by your last paragraph. You said we cannot seperate each post by category. That is no concern to me currently, but I would like to make the Category titles have different colors respectively.
-I have provided a screencast of what I’ve managed this far: center the category title, change to a blue line separator, and changed the bottom spacing to allow the articles to be closer together. My next task is to try and have each category title be different.
How can I accomplish this, if possible since we cannot pinpoint posts by category in one block, can I assign a category title to a certain color?
i.e. style is blue, culture is magenta, art is orange, entertainment is green…along those lines…
And if possible, how can I get rid of the black block around the category title?
THANK YOU SO MUCH!!
http://www.screencast.com/t/6anzfHWuuLh – This is video of what has been accomplished so far.
http://www.screencast.com/t/tsMglIuWA62w – Screenshot of what’s been sccomplished (I noticed my video needs to be downloaded..sorry!)
-
This reply was modified 9 years by
KimimilaWin.
Hello,
Unfortunately since you cannot add a certain category for each post in the block ,you cannot add a certain color as well. Sorry. There is no such setting in our theme. The blocks can only have these sorting options: http://screencast.com/t/ohPA5bkhTRgB and the categories to pull articles from but there is no such control to change these settings on each post the block grabs. The block is seen as a whole element. It cannot be split into articles and have each article with it;s own setting. Sorry. Blocks pull content dynamically and css is not able to detect which post belongs to which category in order to change it;s color. This will have to be made custom but not using css. That is more complicated to add and will require some time and effort to do. We suggest getting some hired help on this one as there is no simple solution we can provide. Sorry.
Thanks.
Alright, that’s what I thought. Thank you for your response and in depth
explanation. I will let the client know, and hopefully we can work around this in time.