• So I’m fairly well versed in SEO but this was my first attempt at a website. I replaced my site title and title tag with my logo (which incorporates the same title tag text). Im using Astra theme and elementor free version. Unfortunately I still need them for SEO purposes. I have tried the hide page and post title plug in no luck.. and have researched some plugins that would allow me to add the css without upgrading to elementor pro but the answers in the forum threads each have different suggestions for code and varying results. Can someone suggest a workaround? Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @ciloboston
    you have to do changes in header.php from code side. please attach you header.php file for reference.

    Thread Starter ciloboston

    (@ciloboston)

    Thanks… Im truly new to code so forgive me if this is the wrong ( or excess) info

    <?php
    /**
     * The header for Astra Theme.
     *
     * This is the template that displays all of the <head> section and everything up until <div id="content">
     *
     * @link https://developer.www.ads-software.com/themes/basics/template-files/#template-partials
     *
     * @package Astra
     * @since 1.0.0
     */
    
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly.
    }
    
    ?><!DOCTYPE html>
    <?php astra_html_before(); ?>
    <html <?php language_attributes(); ?>>
    <head>
    <?php astra_head_top(); ?>
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="profile" href="https://gmpg.org/xfn/11">
    
    <?php wp_head(); ?>
    <?php astra_head_bottom(); ?>
    </head>
    
    <body <?php astra_schema_body(); ?> <?php body_class(); ?>>
    <?php astra_body_top(); ?>
    <?php wp_body_open(); ?>
    <div 
    <?php
    	echo astra_attr(
    		'site',
    		array(
    			'id'    => 'page',
    			'class' => 'hfeed site',
    		)
    	);
    	?>
    >
    	<a href="#content"><?php echo esc_html( astra_default_strings( 'string-header-skip-link', false ) ); ?></a>
    	<?php 
    	astra_header_before(); 
    
    	astra_header(); 
    
    	astra_header_after();
    
    	astra_content_before(); 
    	?>
    	<div id="content" class="site-content">
    		<div class="ast-container">
    		<?php astra_content_top(); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hiding Site title & title tag from view in header (Astra)’ is closed to new replies.