Arcade Basic
Header & Page Images Alt text (5 posts)

  1. Dyna Myte
    Posted 1 year ago #

    Firstly thanks for the great theme!

    I am optimizing the site and have challenges to add the ALT TEXT to
    the main Header image as well as the main page images.
    For images running through posts, the ALT Text can be added no problem.

    Have searched the header.php and the functions.php file to see where this
    could be done (assume need to add some code like> alt text = "......."

    Many thanks for your support.

  2. kimyausie
    Posted 1 year ago #

    I want to change the font on my header page but it's not giving that option? How do I go about this?

  3. Dyna Myte
    Posted 1 year ago #

    You can change that through the css style sheet, site title, font size.

  4. c.bavota
    Theme Author

    Posted 1 year ago #

    You need to edit functions.php. This is the code:

    function bavotasan_header_images() {
    	global $post;
    	$post_id = ( is_attachment() && isset( $post->post_parent ) ) ? $post->post_parent : get_queried_object_id();
    	$custom_image = ( is_singular() || get_option( 'page_for_posts' ) == $post_id || is_attachment() ) ? get_post_meta( $post_id, 'arcade_custom_image', true ) : '';
    	if ( $custom_image ) {
    		echo '<img src="' . esc_url( $custom_image ) . '" alt="" class="header-img" />';
    	} else {
    		if ( $header_image = get_header_image() ) :
    			<img class="header-img" src="<?php header_image(); ?>" alt="" />
  5. Dyna Myte
    Posted 1 year ago #

    OK thank you for the code - will test this further. Realized better to change the functions.php via the FTP, not in WP editor area !

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic