Astra_Update_Body_Font::configure()

Configure the ability.


Description


Source

File: inc/abilities/customizer/globals/typography/class-astra-update-body-font.php

	public function configure() {
		$this->id          = 'astra/update-font-body';
		$this->category    = 'astra';
		$this->label       = __( 'Update Astra Body Font', 'astra' );
		$this->description = __( 'Updates the Astra theme body font family, weight, size, and other typography settings. IMPORTANT: When user specifies size like "16px" or "1.5rem", you must separate the numeric value from the unit: font_size.desktop = 16 (number), font_size.desktop-unit = "px" (string).', 'astra' );

		$this->meta = array(
			'tool_type' => 'write',
		);
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.