Jump to content

Multi Line Titles


Go to solution Solved by Happy2Play,

Recommended Posts

Locutus64
Posted

I give up both Kate and Visual Studio Code could not locate that line in your image.

GrimReaper
Posted
1 minute ago, Locutus64 said:

I give up both Kate and Visual Studio Code could not locate that line in your image.

Why do you need to locate it? Just replace:

div.cardText.cardTextCentered.cardText-first {
    white-space: pre-wrap;
}

with

div.cardText.cardText-first {
    white-space: pre-wrap;
}

1866282963_Screenshot2022-03-05235926.png.06352942beaeb8449c2acc8751392651.png

  • Like 1
  • Thanks 1
Happy2Play
Posted
3 minutes ago, GrimReaper said:

Roles, yes.

1426783467_Screenshot2022-03-05235352.thumb.png.5347da2ffa3dccfb03b90ba97d0fb26b.png

Change to "div.cardText" to cover all or add "div.cardText.cardText-secondary".

  • Like 1
  • Thanks 1
GrimReaper
Posted
1 minute ago, Happy2Play said:

Change to "div.cardText" to cover all or add "div.cardText.cardText-secondary".

Great stuff. 👍

1571101233_Screenshot2022-03-06000241.thumb.png.c5ad17b93dad12807134d678f3498d98.png

Locutus64
Posted (edited)

Yea I was thinking the long theming CSS instead of that. OMFGawd. Thanks for making realize I was look at the wrong CSS. 

 

EDIT:

 

Perfect, worked like a charm. Thanks guys for the help with this, greatly appreciated.

Edited by Locutus64
  • Like 1
Happy2Play
Posted
10 minutes ago, Locutus64 said:

I give up both Kate and Visual Studio Code could not locate that line in your image.

Where were you looking?  But if you were to look at system css you would have had to look at the card.css.

image.thumb.png.815e0d7d18d3843f4f95d0302cf8fae9.png

But you should use the browser console to see select the elements then apply custom css to Emby as editing system files requires update with every server update.

You should only run into issues default code already has "!important".

  • Like 1
Garbonzo17
Posted

Thanks everyone! learned alot here.. :)

 

  • Like 2
  • 2 years later...
Posted
On 9/13/2021 at 3:03 PM, Happy2Play said:

Long names will always be a issue. 

At least for the web client I just add some custom css.  

div.cardText.cardTextCentered.cardText-first {
    white-space: pre-wrap;
}

image.thumb.png.2bda7f7e3f683cfaebcac45282489d5d.png

Once upon a time you helped me with this Title Wrap problem. Has worked great until now. Just noticed it was no longer working. Does yours still work? Thx.

Happy2Play
Posted
5 minutes ago, kbeck said:

Once upon a time you helped me with this Title Wrap problem. Has worked great until now. Just noticed it was no longer working. Does yours still work? Thx.

There was a change at some point as there is no cardTextCentered anymore.

image.png.d565d3372ff611014602f6aaebc53041.png

image.png.7a63366940a4e735b4ec8fd2c3fe84b5.png

div.cardText.cardText-first {
    white-space: pre-wrap;
}

 

  • Thanks 1
Posted
2 minutes ago, Happy2Play said:

There was a change at some point as there is no cardTextCentered anymore.

 

div.cardText.cardText-first {
    white-space: pre-wrap;
}

 

Perfect. Thanks so much. Been watching a lot of TV shows and had not noticed the change.

  • 1 year later...
Smitty018210
Posted
On 3/5/2022 at 6:01 PM, Happy2Play said:

Change to "div.cardText" to cover all or add "div.cardText.cardText-secondary".

 

Sorry for bumping older post:

I Trying to figure this out. I know little coding, but I am trying my best to follow this, but what tired hasn't worked

I too would like to wrap actor roles:

/* Wraps Actor Roles */
div.cardText.cardText-all {
    white-space: pre-wrap;
}

--------------------------------------------------------------------

/* Wraps Actor Roles */
div.cardText.cardText-secondary {
    white-space: pre-wrap;
}

Neither is working. I assume I am missing something pretty basic (for some, not me), but I not sure what. 

 

GrimReaper
Posted
4 hours ago, Smitty018210 said:

 

Sorry for bumping older post:

I Trying to figure this out. I know little coding, but I am trying my best to follow this, but what tired hasn't worked

I too would like to wrap actor roles:

/* Wraps Actor Roles */
div.cardText.cardText-all {
    white-space: pre-wrap;
}

--------------------------------------------------------------------

/* Wraps Actor Roles */
div.cardText.cardText-secondary {
    white-space: pre-wrap;
}

Neither is working. I assume I am missing something pretty basic (for some, not me), but I not sure what. 

 

I guess that's some illegal copy/paste character as I'm seeing no issues with it on 4.8.11.0.

Try copy/pasting this:

div.cardText-secondary {
    white-space: pre-wrap;
}

or just type it by hand.

image.png.1a59c28b2b7e36e4fba28d0507501736.png

  • Thanks 1
Smitty018210
Posted
1 hour ago, GrimReaper said:

I guess that's some illegal copy/paste character as I'm seeing no issues with it on 4.8.11.0.

Try copy/pasting this:

div.cardText-secondary {
    white-space: pre-wrap;
}

or just type it by hand.

image.png.1a59c28b2b7e36e4fba28d0507501736.png

Ok, so typing it in rather than copy/paste seems to be working for movies and episodes. 

Thanks Grim!

 

 

  • Like 1
  • 4 months later...
SpaceCowboy1968
Posted

Works not wih Android app. Neither on my phone nor on my nVidia shield.

GrimReaper
Posted
4 minutes ago, SpaceCowboy1968 said:

Works not wih Android app. Neither on my phone nor on my nVidia shield.

Custom CSS applies only to local Web app, no other client apps. 

  • Agree 1
  • 3 weeks later...
Posted
On 11/23/2025 at 9:47 AM, GrimReaper said:

Custom CSS applies only to local Web app, no other client apps. 

One of the big reasons I don't use the Emby app. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...