Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #230740
    HARALD POHLAND
    Participant

    Hi
    How can I add a self created web font in “font family options”?
    Thanks

    #230755
    tikaram
    Keymaster

    @harald-poehlandbluewin-ch: For custom fonts you will need to create a child theme and upload the fonts yo your child themes folder and apply the fonts to the desired areas. Let me know if you are comfortable with child theme customization. I will assist you through the process. If you cannot work with child theme I recommend you to seek professional help of an expert.

    Regards,
    Tikaram

    #230796
    HARALD POHLAND
    Participant

    Hello Tikaram

    Thank you for responding.

    I created a child theme and activated it successfully. However, it does not look very good if I go into “customize”.
    If you can guide me through the process that would be awesome.

    I have the following in this rock-star-pro-child directory:
    – A folder named “fonts” containing the converted webfonts from (https://www.fontsquirrel.com)
    – A style.css
    – A functions.php

    Kind regards
    Harry

    PS: I tried to add the contents of the style and functions files, but that was blocked.

    #230816
    tikaram
    Keymaster

    @harald-poehlandbluewin-ch: You have mentioned that it doesn’t look good when you go into the customize, can you please explain the exact issue that you are facing after creating the child theme. The child theme is not supposed to change the behavior of the customize area, Please let me know so that I can guide you through the process.

    Regards,
    Tikaram

    #230901
    HARALD POHLAND
    Participant

    Apparently, I don’t know how to properly address the css files in the functions.php of the child theme.
    I am not a code writer per se, but I guess with a little help from you I’ll manage to get this done?

    // Place all your custom functions below this line.

    // add_action( ‘wp_enqueue_scripts’, ‘rock_star_pro_child_styles’ );
    // function rock_star_pro_child_enqueue_styles() {
    // wp_enqueue_style( ‘rock-star-pro-style’, get_template_directory_uri() . ‘/style.css’ );
    // wp_enqueue_style( ‘rock-star-pro-style’, get_template_directory_uri() . ‘/rtl.css’ );
    // wp_enqueue_style( ‘rock-star-pro-style’, get_template_directory_uri() . ‘/css/about-admin.css’ );
    // wp_enqueue_style( ‘rock-star-pro-style’, get_template_directory_uri() . ‘/css/customizer.css’ );
    // wp_enqueue_style( ‘rock-star-pro-style’, get_template_directory_uri() . ‘/css/editor-style.css’ );
    // wp_enqueue_style( ‘rock-star-pro-style’, get_template_directory_uri() . ‘/css/widgets.css’ );
    // wp_enqueue_style( ‘rock-star-pro-style’, get_template_directory_uri() . ‘/css/colors/light.css’ );
    // wp_enqueue_style( ‘rock-star-pro-style’, get_template_directory_uri() . ‘/css/genericons/genericons.css’ );
    //}

    #230939
    tikaram
    Keymaster

    @harald-poehlandbluewin-ch: I will contact you shortly by email.

    Regards,
    Tikaram

    #231625
    HARALD POHLAND
    Participant

    Never mind. I meanwhile figured it out on my own.
    I do have a comment though about the typography in the styles.css:
    It would be great if for example the menu font and the tagline font variables would be clearly visible under “Typography”, but they are elsewhere.
    There are some like “i”, “adress” etc. I have now clue where they actually show.
    Nevertheless, overall I like the theme.

    Regards
    Harry

    #231663
    tikaram
    Keymaster

    @harald-poehlandbluewin-ch: I hope you are able to resolve your issue. Let me know if you need any further assistance.

    Regards,
    Tikaram

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘custom font integration’ is closed to new replies.