Modify the width of a label

Posted in: Newspaper
Post count: 122

Hello, I have all the labels put on the news but some of them, being the larger text, occupy much more until almost the end of the photo. Attached a capture so you can see what I say. Could you adjust the width of the tag more or less by the red line that I have put? Thank you.

http://imagizer.imageshack.us/a/img921/5264/rOJpOJ.png

Post count: 20688

Hi,

Currently there are no long tags like the one you mention, I made one as a example
https://www.screencast.com/t/pKnfHfntz
I could give you a code to limit the max width of the tag to a value, like this
https://www.screencast.com/t/N2QpT5gHRIG

Add that to this code from previous topics
https://www.screencast.com/t/JO0yDXRk

max-width: 80%;

Thanks

Post count: 122

Hi Simion, the block that you have modified is fine, that does not want to modify it, I just want to modify the box on the right that says LAST NEWS. And see if you can reduce where I put the red line. Thank you.

http://imagizer.imageshack.us/a/img923/6613/9r5wPW.png

Post count: 122

Look, I’ll give you another example. The label goes to the end of the photo. Could you put the smallest width? Because it will stay in two lines since the text is very large.

http://imagizer.imageshack.us/a/img924/4647/J1K0Az.png

Post count: 22421

Hello,

Unfortunately this is how css works. If your category has too many words and they will go on 2 rows, the tag will not be able to re-size. This will happen in all modules that are not wide enough to accommodate the category on a single row.
There is no easy fix for this unfortunately.

Thanks.

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