Home Forums WoodMart support forum elementor font

elementor font

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #314334

    sajadarefi
    Participant

    Hello
    I uploaded my fonts and set them up in theme settings TYPOGRAPHY correctly, but I have two requests:
    1. why when I trying to create a page or post or any … in elementor, I don’t have all my fonts in the Custom typography Style. I see only two of them but I want all of them.

    2. in the TYPOGRAPHY setting how can I change the only fonts of the widget? ] id like to have the specific font and style for my widget but there is no option for that. must I use the Write your own selector? and I must write a custom selector what is that for widget

    best and thanks for helping

    #314420

    Hello,

    Please make sure you have set using the theme styles in Elementor > Settings.

    If you have set Elemetor styles typography also would be applied.

    You can change the font by means of the Advanced typography option, which allows you to choose the item from a drop-down or insert your custom CSS class. Please navigate to the Theme Settings > Typography > Advanced Typography.

    Here is the documentation providing more detailed instructions: https://xtemos.com/docs/woodmart/advanced-typography-settings/

    Best Regards

    #314428

    sajadarefi
    Participant

    Hi and thanks
    yes sure I only instal elementor at the first and set it up, I imported my fonts in the dashboard and select them correctly according to your advice in the documentation, but I can see only two fonts in the elementor editor.
    1. I want to have all of the fonts in the elementor editor for specific design in the slider and … I don’t want to use the same fonts for body text and slides.
    2. I set up fonts for Widget titles correctly, but I’d like to have a specific font for details of the widget, in -> Advanced Typography there are no widget details.
    But I must use “Custom selector” option for that if possible tell me what I write in CSS selector and apply my font rules ( I want to change the font for the “Widget details” on the sidebar of the shopping page; I need to write its selector to the field like …. ? )

    #314532

    Hello,

    I am checking your site I do not see Elementor activated in your plugins.

    Please enable Elementor so that I could check.

    Best Regads

    #314538

    sajadarefi
    Participant

    Hello Elise
    Thanks for your great supporting
    the elementor was active, I am working with elementor I create many pages with elementor, I installed all of the plugins at the first basic imported theme.

    best

    Attachments:
    You must be logged in to view attached files.
    #314660

    Hello,

    Your interface is in Arabic and I could not find it.

    Please try to enable this option https://gyazo.com/3a95a9c2c07b4724401a78d279cf5bce you can find it in the Theme Settings > Performance > Plugins.

    Best Regards

    #314878

    sajadarefi
    Participant

    Hello,
    I changed the language of the website in the dashboard to English. I uploaded 17 fonts in the CUSTOM FONTS but only 2 fonts appear in elementor > style > Custom typography > family > theme fonts
    please if possible help me and solve it for me

    the second request was about the TYPOGRAPHY setting. I can change the style for Widget titles font but I’d like to have the specific font and style for my sub Widget but there is no option for that. how can I change it?
    again thanks
    and best

    #314995

    Hello,

    Please disable the inheriting theme fonts in the Elementor settings: https://gyazo.com/8412f52b994d664257083dd720093cf9

    If it does not work, let us know.

    Best Regards

    #315023

    sajadarefi
    Participant

    hello,
    it didn’t work I test it
    can you help me?

    #315178

    Hello,

    You have not enabled the Elementor styles that is why it did not work. Please check now: https://gyazo.com/ecedf3eae5c5b8808910c079b19f293b

    If you have any questions please feel free to contact us.

    Best Regards

    #315255

    sajadarefi
    Participant

    Thanks for your answering
    I followed all of your advice But I can’t use the custom fonts in the elementor editor.
    this was my problem but I think I couldn’t say that :
    I uploaded 10 fonts to the dashboard with theme ability and set up all of your advice but I can see only 2 of them in elementor Custom typography,
    can I have all of my uploaded fonts in elementor or not? if yes please tell me how
    best

    #315348

    Hello,

    Please add this code to the functions.php of the child theme:

    function woodmart_add_custom_fonts_to_theme_group( $additional_fonts ) {
    	$theme_fonts       = array();
    	$content_font      = woodmart_get_opt( 'primary-font' );
    	$title_font        = woodmart_get_opt( 'text-font' );
    	$alt_font          = woodmart_get_opt( 'secondary-font' );
    	$custom_fonts_data = woodmart_get_opt( 'multi_custom_fonts' );
    
    	if ( isset( $content_font[0] ) && isset( $content_font[0]['font-family'] ) && $content_font[0]['font-family'] ) {
    		$theme_fonts[ $content_font[0]['font-family'] ] = 'wd_fonts';
    	}
    
    	if ( isset( $title_font[0] ) && isset( $title_font[0]['font-family'] ) && $title_font[0]['font-family'] ) {
    		$theme_fonts[ $title_font[0]['font-family'] ] = 'wd_fonts';
    	}
    
    	if ( isset( $alt_font[0] ) && isset( $alt_font[0]['font-family'] ) && $alt_font[0]['font-family'] ) {
    		$theme_fonts[ $alt_font[0]['font-family'] ] = 'wd_fonts';
    	}
    
    	if ( isset( $custom_fonts_data['{{index}}'] ) ) {
    		unset( $custom_fonts_data['{{index}}'] );
    	}
    
    	if ( is_array( $custom_fonts_data ) ) {
    		foreach ( $custom_fonts_data as $font ) {
    			if ( ! $font['font-name'] ) {
    				continue;
    			}
    
    			$theme_fonts[ $font['font-name'] ] = 'wd_fonts';
    		}
    	}
    
    	return $theme_fonts + $additional_fonts;
    }
    
    add_filter( 'elementor/fonts/additional_fonts', 'woodmart_add_custom_fonts_to_theme_group' );

    Best Regards

    #315892

    sajadarefi
    Participant

    Excellent Very good
    The whole problem was solved with this code that you gave
    Thank you for your understanding
    best

    #315925

    We are always happy to help you, write to us when you have any difficulties or issues with our theme.

    We would be grateful for 5 stars rate on http://themeforest.net/downloads in case you are satisfied with our theme and customer service

    Thank you in advance

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘elementor font’ is closed to new replies.