How to modify font size in nav brand?

I would like to insert these following changes in the nav bar brand :
#fh5co-header .navbar-brand {

  •        float: left;
    
  •        display: block;
    
  •        font-size: 20px;
    
  •        font-weight: 520;
    
  •       padding-left: 2;
    

I tried to do that by inserting in a css file (custom1.CSS) this : #fh5co-header .navbar-brand {
.navbar-brand img {float: left; display: block ;padding-left: 2;font-size: 20px;font-weight: 520;

}

But I can’t see the modification. Any explanation ?

thank you very much !

Eee…

  1. show your repo
  2. are you using theme? what theme? etc

I’m using Elate Theme and the repo is

https://github.com/Pas2fom/tristandefommervault.com/commit/7be139adba150aee5b88429c19cc458b6a09a86e

You do understand that this is a dead project, right?

Sorry maybe there was a misunderstanding and I didn’t understand the notion of « dead project » as I’m currently using this theme for my own activity. Should I understand that all theme which are not updated by their author does not interest the community ? Is’nt it ?

I’m certainly not interested, but I speak for myself.

When I say dead, I mean:

  • Unsupported by the theme author
  • No enhancements
  • No bug fixes

You have one less avenue for support.
in your custom1.css you need:

#fh5co-header .navbar-brand {
  font-size: 20px;
  font-weight: 400;
}

That will change the font size (and weight from original 700) of the logo text.
520 is a strange font weight, unless you know something about your logo font is unusual?
400 is normal, 500 is medium, 600 is semi-bold, 700 is bold.

@andrewd72
Thank you very much again for your help and understanding. Have a nice day !

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.