Jump to content

Edit the size of text in Overview Box


Go to solution Solved by user24,

Recommended Posts

Smitty018210
Posted (edited)

@Happy2Play

Hey guys another quick question.

Is it possible to change the size of the text in this box?

Thanks!

Emby.jpg

Edited by Smitty018210
Posted

Hi, perhaps try this:

.overview-text.readOnlyContent { font-size: 32px; }

image.thumb.png.81c2f4a93a03f08f0688139c6dea07d3.png

  • Like 1
Smitty018210
Posted
4 minutes ago, user24 said:

Hi, perhaps try this:

.overview-text.readOnlyContent { font-size: 32px; }

image.thumb.png.81c2f4a93a03f08f0688139c6dea07d3.png

That worked, thanks!

  • 3 months later...
Smitty018210
Posted

Instead of creating new topic just going to add to this one. (It's related to the same overview text box)

 Is there away to have the text wrap to the next line and fill the space where the orange arrow is pointing?

Also is it possible to remove the more button? (Green Arrow)

Thanks!

Untitled-1.thumb.png.73f4bdc80004c1d8c929fa9512935814.png

  • Solution
user24
Posted

Yeah, it is possible as I've been making very similar changes to my Music pages. You could try this, or a variation of it, to suit what you want:

/* Make the overview text 9 lines with ... at the end if it overflows */
.overview-text.readOnlyContent {
  display: -webkit-box; /* Makes it compatible with webkit browsers */
  -webkit-box-orient: vertical; /* Specifies vertical stacking of lines */
  overflow: hidden; /* Hides content after the specified number of lines */
  text-overflow: ellipsis; /* Adds ellipsis after the text is truncated */
  -webkit-line-clamp: 9; /* Restricts content to 9 lines */
  line-clamp: 9; /* Standard property for non-webkit browsers */
}
/* Hide the MORE button */
.button-link.btnReadMore.flex-shrink-zero.secondaryText.emby-button {
display: none;
}

I'm sure others more knowledgeable than me (or my AI helper) will spot any errors!!!

  • Like 1
Smitty018210
Posted
19 minutes ago, user24 said:

Yeah, it is possible as I've been making very similar changes to my Music pages. You could try this, or a variation of it, to suit what you want:

/* Make the overview text 9 lines with ... at the end if it overflows */
.overview-text.readOnlyContent {
  display: -webkit-box; /* Makes it compatible with webkit browsers */
  -webkit-box-orient: vertical; /* Specifies vertical stacking of lines */
  overflow: hidden; /* Hides content after the specified number of lines */
  text-overflow: ellipsis; /* Adds ellipsis after the text is truncated */
  -webkit-line-clamp: 9; /* Restricts content to 9 lines */
  line-clamp: 9; /* Standard property for non-webkit browsers */
}
/* Hide the MORE button */
.button-link.btnReadMore.flex-shrink-zero.secondaryText.emby-button {
display: none;
}

I'm sure others more knowledgeable than me (or my AI helper) will spot any errors!!!

Works like a charm! Thank you!

Happy2Play
Posted

😀 You mean this, but yes there are several ways to do this.

 

  • Like 1

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...