How to reduce the size of font in the post content?
-
I want to reduce the basic font size of lavender themes.
--
Also how to change the
redis
password? technically I skipped the password during redis setup. How to recover or change?Thanks and more powers to all admin/staff/members here.
-
Hi,
Let's see here...
You can go into the
topic.less
file in the lavender template. It should be locatednode_modules/nodebb-theme-lavender/less/topic.less
.Look for
.post-content
it should be in the following hierarchy:.topic .posts .post-content
. Example below:.topic { .posts { .post-content { //You can put whatever font-size here. } } }
Hope this helps!
-
Thank you so much. @trevor
Off topic: anyway do you have any idea about to my
redis
issue? -
Go to your redis.conf file inside /etc/redis/ and press Ctrl + W to search, type in
requirepass
and it will take you to the security portion of that document, uncomment the requirepass by removing the # to the left, leave a space afterrequirepass
, and enter a long password. Something you've never used, and something that won't be cracked anytime soon, I use a 52 character string. Some use more. Then save that document, go to your nodebb config.json file, and enter the password into the password field.Might need to restart redis and nodebb, make sure you run bg-save first though or you may lose posts if they've been made recently.
-
Done! Thank you. @a_5mith
-
@trevor said:
Hi,
Let's see here...
You can go into the
topic.less
file in the lavender template. It should be locatednode_modules/nodebb-theme-lavender/less/topic.less
.Look for
.post-content
it should be in the following hierarchy:.topic .posts .post-content
. Example below:.topic { .posts { .post-content { //You can put whatever font-size here. } } }
Hope this helps!
On lavender theme this is
.topic-text
if it is not a change in css since then.@baris for blockquote :
I made a try but it doesn't work. Any update on this or is it Lavender theme related ?