• Resolved sacconi

    (@sacconi)


    what’s wrong with this code?

    <?php get_header();
    
    ?>
    <header>	
    				</header>
    <h1><?php echo" Case vacanza nel mondo"; ?></h1> 
    
    	<main id="primary" class="site-main">
    
    
    		<?php
    		if ( have_posts() ) :
    

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @sacconi, Position absolute CSS was added to the H1 tag, that’s why it’s not visible to you. I have removed that via inspect element and now it’s showing. Please check this image https://ibb.co/Cnc9nfG.

    Thread Starter sacconi

    (@sacconi)

    Hi @alithewpdev , I inspected 2 files of css, style.css and style-rtl.css but I could not find the elements: .site-title or .site-description ??

    Moderator bcworkz

    (@bcworkz)

    The CSS is inline style in your head section. See the (index):81 to the right of the rule’s selectors in the element inspector? That means line 81 of your source HTML.

    How it got there isn’t as easy to say. It’s most likely inserted via PHP code such as wp_add_inline_style(), but there are all sorts of ways to add inline style. You may need to resort to a recursive full text search of your code base using tools like grep or findstr.

    Thread Starter sacconi

    (@sacconi)

    I found a solution, I created a new class for h1 and now it works

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘title doesnt display in the index page’ is closed to new replies.