Advertisement:

How to change font size?

Aloittaja D.Rich99, heinäkuu 23, 2019, 04:01:50 IP

« edellinen - seuraava »

D.Rich99

How do I change the size of the default font that appears in posts?

Sir Osis of Liver

index.css



/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
overflow: auto;
line-height: 1.4em;
padding: 0.1em 0;
font-size: 18px;
}


When in Emor, do as the Snamors.
                              - D. Lister

D.Rich99

Thank you, but I don't seem to have that in my index.css...


/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage {
    overflow: auto;
    line-height: 1.4em;
    padding: 0.1em 0;
}

I'm using a theme called "NightBreeze". where else might be controlling the font size?

Antechinus

The usual thing with custom themes is that you ask in the theme topic, where the theme author will answer your question. ;)

It's usually better this way, because it's impossible for people to be on top of all the details of every theme ever made.

Sir Osis of Liver

index.min.css



.post{margin-top:.5em;clear:right;padding:0 0 14px;font-size:18px}



Makes things simpler if there's an option to disable css minify, but don't see it in Nightbreeze.
When in Emor, do as the Snamors.
                              - D. Lister

D.Rich99

Lainaus käyttäjältä: Antechinus - heinäkuu 23, 2019, 06:28:08 IP
The usual thing with custom themes is that you ask in the theme topic, where the theme author will answer your question. ;)

It's usually better this way, because it's impossible for people to be on top of all the details of every theme ever made.
I asked in here because the theme author does not seem to be answering questions.

drewactual

here is something of value for you that may server you well, Sir.

when in question of things like this, right click the page you want to change while viewing it and 'view source'.  find in the source code the text or item you want to work with (using search, i.e. cntrl+f, helps)... look at the structure of the code... discover what class is controlling it (example: div class="?", or span class="?", or perhaps p class, or maybe even class=" this  that" or class="??_what's here doesn't matter just the first part" and even ? class="??" and ? class="??" ) the item is in... copy it...

open your style sheet controlling your theme.  search for (paste it in)... there it is!  if it isn't there, use one of the other identified classes to find it.  change it, save it, refresh the page and admire your work.  if you don't admire it as much as you thought you would or it had unintended effects, well..... now you know how to find the controlling mechanism.  just hope it isn't hard coded in the php files... those are tougher. 

Sir Osis of Liver

I used view source for long time, more recently been using inspect element.  Doesn't help much when the class isn't in the css.  You'd be surprised how often that happens. :P
When in Emor, do as the Snamors.
                              - D. Lister

D.Rich99

I appreciate the advice, but I'm still very new to this stuff and don't really understand.

I tried looking in index.min.css, as posted by Sir Osis of Liver, But that specific line does not seem to be there.

Sorry if I'm being a pain, but I still don't get it... ><

Sir Osis of Liver

Look for this -



.post{margin-top:.5em;clear:right;padding:0 0 14px



Then add the font-size as posted above.
When in Emor, do as the Snamors.
                              - D. Lister

D.Rich99

Thank you so much! It worked!  ;D

I really appreciate your help!  8)

Advertisement: