Title Size and location


#1

Hi There,

How can I change the Font size of the Title and change location from left to Centre?

Thanks
Doma


#2

Hello Doma,

You can use this CSS code to change the size of site title and description, and center it.

    .site-title {
      font-size: 30px;
    }

    .site-description {
      font-size: 14px;
    }

    .site-branding {
      float: none;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    } 

To apply extra custom CSS code to your site, add it to Appearance > Customize > Additional CSS from dashboard.

Regards,
Kharis


#3

Thanks a lot, Kharis.
Also, how can I change the color of the Tile and the font?
Doma


#4

Hello Doma,

You can use this CSS code and adjust the font family value to meet your need.

    .site-title a {
      color: #fff000;
      font-family: Arial;
    }

To properly define font family in CSS, refer to this article: https://www.w3schools.com/cssref/pr_font_font-family.asp

Regards,
Kharis


#5

Thank you Kharis. You awesome.


#6

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis