I want to put in my newspaper the categories within the image so I can know what section they are.
Like this page for example: https://www.lacancha.es/
Hi,
All modules can display category tags, enable them in the theme panel
– https://forum.tagdiv.com/category-tag-on-modulesblocks/
The tag that will be shown will be the post primary category, more about that here
– https://forum.tagdiv.com/primary-category/
Thanks
I have already put the tags in the photos, could you change the black color that you have for which I want?
And could you also change your location? That is, it appears next to the text, I want to put it above and to the left of the photo
The category tag color is predefined at the moment, it cannot be changed by a theme setting. It could be with some CSS if needed. Similar topic here
– https://forum.tagdiv.com/topic/category-label-appearance-on-block-1/
It’s location may be different depending on type of block. What type of block is that? I could try and give you a code to position it in the left corner of the image, if that is what you mean.
Then try a code like this for example, make tests with it or modify it if needed
– https://www.screencast.com/t/dBYKmdk9
.td_module_wrap .td-post-category {
position: absolute;
top: 0;
left: 0;
bottom: auto;
}
I’ve already found it and it’s perfect. But it is necessary that the cover is also put because it only gets in some, I want in all.
For what block does that happen? It is necessary that you provide this information. I cannot test all blocks and modules. If you discover that the code does not work for some blocks/modules mention which ones.
Since the category tags are not supposed to display like that, it may require additional codes.
You can inspect the element and try to create CSS codes, check here
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
1) I need to put the code for the main cover, send an image capture
http://imagizer.imageshack.us/a/img924/5302/fSgBF3.png
2)
I want to change the color of the category that is in black. I would like to provide the code? The category that looks blue and the white text and when you put the mouse over the category is light blue and the text is white.
For that you could use grid style 4 – https://demo.tagdiv.com/newspaper/big-grid-2/
That has a top positioned grid meta, maybe consider using that.
It would be easier than modify the grid CSS with code that might or might not work, also it will probably damage the responsive design.
You could remove the color if you don’t want it, use a code like this
– http://prntscr.com/k6w9dq
.td-grid-style-4 .entry-title {
background-color: transparent;
}
That code from above does not work with the big grid, also maybe with some other blocks maybe. Try this one for big grid 2
– http://prntscr.com/kf8dd4
.td_block_big_grid_2.td-grid-style-1.td-hover-1 .td-post-category {
position: absolute;
top: 0;
left: 0;
bottom: auto;
}
.td_block_big_grid_2 .td-meta-info-container {
height: 100%;
}
.td-big-grid-post.td-big-thumb .td-big-grid-meta .entry-title {
position: absolute;
bottom: 50px;
}
.td-grid-style-1 .td-big-thumb .td-module-meta-info {
position: absolute;
bottom: 0;
}
.td-big-grid-post.td-small-thumb .td-big-grid-meta .entry-title {
position: absolute;
bottom: 20px;
}
You can modify it if needed of if there are problems with it.
Hi, I’ve tried it and I use the big grid 6, the blocks above are perfect but the ones below are the title at the top.
I remembered something with grid 2, my mistake. For grid 6 it would be like this
– http://prntscr.com/kfbghj
.td_block_big_grid_6.td-grid-style-1.td-hover-1 .td-post-category {
position: absolute;
top: 0;
left: 0;
bottom: auto;
}
.td_block_big_grid_6 .td-meta-info-container {
height: 100%;
}
.td-big-grid-post.td-big-thumb .td-big-grid-meta .entry-title {
position: absolute;
bottom: 50px;
}
.td-grid-style-1 .td-big-thumb .td-module-meta-info {
position: absolute;
bottom: 0;
}
.td-tiny-thumb .td-big-grid-meta .entry-title {
position: absolute;
bottom: 20px;
}
And if it is almost perfect, because by putting the code that you have passed me the text of the owner reaches the end. I put a capture of how it was and how it is with the code.
https://imageshack.com/a/img924/8748/AcNNMR.png
https://imageshack.com/a/img923/2456/ZcMVm5.png