[Resolved] Ask How to Change Header Image and Change logo header font

Home Forums Support [Resolved] Ask How to Change Header Image and Change logo header font

Home Forums Support Ask How to Change Header Image and Change logo header font

  • This topic has 6 replies, 2 voices, and was last updated 4 years ago by David.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1232083
    adeiskandr

    Hi. My Site http://www.belacankepo.com/

    had use generatepress theme with tasty site library.

    i want to change :

    1. Site title font with cocktail font, i dont see the font in customizer, how to add it manually?
    2. i want to insert image at header, with background image

    how to do that? thank you

    Best Regards

    #1232397
    David
    Staff
    Customer Support

    Hi there,

    1. this document explains how to add your own custom fonts to the site:

    https://docs.generatepress.com/article/adding-local-fonts/#uploading-our-font

    2. In Appearance > GeneratePress – make sure you have the Backgrounds module enabled.
    Then you can add a background image in Customizer > Background > Header

    #1234679
    adeiskandr

    Thank you david, what is the best size for background image for header?

    and i can upload font from my cpanel, my font name is cocktail, so what must i do? i am not understand the tutorial at the link that you give to me, i am sorry

    Regards

    #1234686
    adeiskandr

    i have use custom font plugin , i have success upload font to media, but the font not appear in customizer

    #1234989
    David
    Staff
    Customer Support

    There isn’t a set size to go by – as background images respond to size of the browser. But if you create a wide image say 1600px x 200px then this should fill the space on your site nicely when viewed on the average size screen

    For the fonts to display in the Customizer you will need to add this PHP snippet to your site:

    add_filter( 'generate_typography_default_fonts', function( $fonts ) {
        $fonts[] = 'Open Sans';
    
        return $fonts;
    } );

    Change Open Sans to the name of your font.

    This article explains how to add PHP:
    https://docs.generatepress.com/article/adding-php/

    #1236818
    adeiskandr

    hi david, thank you for your answer, i have solved my problem, background images was solved

    and for font i am using use any font plugin, thanks

    Regards

    #1237075
    David
    Staff
    Customer Support

    Is the font issue resolved ?

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.