tecman
  •  tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
2020-06-08T07:14:55Z
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
2020-06-11T08:35:01Z
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; }

UserPostedImage
tecman
  •  tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
2020-06-11T15:26:13Z
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
2020-06-11T16:56:05Z
Originally Posted by: tecman 

Glad to hear from you :)
When can we expect to see 2.31.7? If it will be soon enough, I can wait.



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.

UserPostedImage
tecman
  •  tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
2020-06-12T15:09:50Z
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
2020-06-13T14:00:52Z
Originally Posted by: tecman 

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



https://github.com/YAFNE...98b0bc303ac10b56d1bR8438 
UserPostedImage
tecman
  •  tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
2020-06-15T15:10:52Z
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
2020-06-15T15:58:06Z
Why do you need to download 2.31.6 first? Just add the css I wrote above. With the font size from the link
UserPostedImage
tecman
  •  tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
2020-06-15T16:03:41Z
See post #5. I just asked for a recommended value but got no answer.
tha_watcha
2020-06-15T16:06:46Z
tecman
  •  tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
2020-06-15T16:11:05Z
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
2020-06-15T16:16:57Z
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

Click to View Image8 View(s)


UserPostedImage
tecman
  •  tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
2020-06-15T16:19:51Z
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
2020-06-16T15:16:40Z
The following setting helped me:
.blockquote-custom {font-size:0.8125rem !important;}
Don't forget to mention the !important attribute if it is required.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved