Put the category inside the image

Posted in: Newspaper
Post count: 122

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/

Post count: 20688

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

Post count: 122

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

http://imagizer.imageshack.us/a/img921/9991/lie60Q.png

Post count: 20688

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.

Post count: 122

Yes, could you tell me the code to put the tag on the top left?

And you can tell me where I hit the css code, is that I can not find it

Post count: 20688

Please try and mention the block type you want this for, it may not work for all blocks or cause problems with others.

Post count: 122

I want to change all the blocks and put them up. I do not want to modify only some, I want them all the same

Post count: 20688

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;
}

Post count: 122

Where do I put that code ?. In which editor? I just can not find it and I do not know where to put it

Post count: 122

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.

http://imagizer.imageshack.us/a/img922/4868/3GexLs.png

Post count: 20688

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/

Post count: 122

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.

Post count: 23312

Hello alebasur,

Sorry but please notice that we cannot provide additional customizations, unfortunately! As my colleague Simion said you above, you should check the Inspector browser tool to create your own CSS code.

Thanks for your understanding!

Post count: 122

Please, I just want you to help me upload the button, I’m editing the css code

Post count: 20688

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.

Post count: 122

But I change the format of the box. That is, the category goes up to the left but some colors appear in the photo.

Post count: 20688

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;
}

Post count: 122

Hi, it works for me in the module wrap but in the big-grid-post it does not work for me. Could you help me to put the category on top of the photo?

Post count: 20688

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.

Post count: 122

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.

http://imagizer.imageshack.us/a/img922/1212/feytNB.png

Post count: 20688

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;
}

Post count: 122

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

Post count: 20688

So it looks as you wanted it? From what I see it seems to work for you.

Post count: 122

It only remains that the text does not arrive until the end, could it be put? And it is perfect, I just need that.

Post count: 122

Right now I have not put the code that you gave me because the text is very close to the right of the box.

Viewing 25 posts - 1 through 25 (of 29 total)
The forum ‘Newspaper’ is closed to new topics and replies.