YAFLogo

tecman
  • tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
4 years ago
How to decrease the font size for quote blocks in YAF 2.31?

Now characters in these blocks look bigger than the normal text, but I would prefer to make them smaller if we take the normal text font size as a basis. At least, this is true for our forum rendered with the Simplex theme.

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
4 years ago
The issue will be fixed with the next update 2.31.7

You can fix this in the theme by adding

.blockquote-custom {
  font-size: xxxxrem; }
tecman
  • tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
4 years ago
Glad to hear from you :)

When can we expect to see 2.31.7? If it will be soon enough, I can wait.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
4 years ago

Glad to hear from you :)

When can we expect to see 2.31.7? If it will be soon enough, I can wait.

Originally Posted by: tecman 

The current release is one week old. so expect the next release in 1-2 month. Or if you cant wait just fork or download the stable branch from github, and compile yaf yourself.

tecman
  • tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
4 years ago
Ok, then I want to fix it quickly in the CSS now. What value do you recommend for the font-size parameter you mentioned above? I guess it should be a relative value related to the main font size (size of post text).
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
4 years ago

Ok, then I want to fix it quickly in the CSS now. What value do you recommend for the font-size parameter you mentioned above? I guess it should be a relative value related to the main font size (size of post text).

Originally Posted by: tecman 

https://github.com/YAFNET/YAFNET/commit/9edc02be8d718f0220986e9270a23b8f4245361f#diff-a555a1678ac6298b0bc303ac10b56d1bR8438 

tecman
  • tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
4 years ago
Currently I am using 2.31.5. Now I need to upgrade to 2.31.6, then download this improvement, then recompile it... Much work. I can wait for the v2.31.7 instead or apply the CSS fix.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
4 years ago
Why do you need to download 2.31.6 first? Just add the css I wrote above. With the font size from the link
tecman
  • tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
4 years ago
See post #5. I just asked for a recommended value but got no answer.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
tecman
  • tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
4 years ago
Many mentions of blockquote-custom:

.blockquote-custom {
  font-size: 1rem; }
.blockquote-custom {
  font-size: 0.9375rem; }
.blockquote-custom {
  font-size: 0.875rem; }

Which one to use? Or should I try myself and use what looks best for me?

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
4 years ago
Sorry I don't understand your problem, the link points directly to the simplex theme.. As seen in the Screenshot...

 FF433C8A-DCC8-4919-BE07-22E50748A244.png You have insufficient rights to see the content.

tecman
  • tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
4 years ago
Oh, sorry. I didn't notice that those fixes are for different themes. Sorry, I am just not a web developer and not a developer of YAF, and sometimes I need a simple answer to my questions 🙂
tecman
  • tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
4 years ago
The following setting helped me:

.blockquote-custom {font-size:0.8125rem !important;}
Don't forget to mention the !important attribute if it is required.