Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kristelbelle248

    (@kristelbelle248)

    Hi there,

    Thank you for your reply. I ended up contacting my host and they were able to make a change on their end that fixed the 403 error. Thanks again!

    Hi @davidsortof,

    Thanks for the reply! I actually did figure out how to make this work later. I created an index.php file in my Astra child theme folder (creating a child theme helps prevent the problem of having the code erased when the theme updates). Then I copied all of the code from my Astra index.php file into the new index.php file in my child theme. Then below where it said “get_header(); ?>” I inserted this line of code:

    <div align=”center”><span style=”font-size: 60px;”> </br> <?php single_post_title(); ?></div>

    You can then change the alignment and font size to suit your needs. This finally fixed my problem! I hope this might be helpful to anyone else trying to make this work!

    I am looking to do the same thing (add the page title “Articles” to my main posts page). However, when I copy the index.php code from my main theme to an index.php file that I created in my child theme, there is no line that says “<main id=”main” class=”site-main” role=”main”>.” Adding the second code provided underneath the existing code does not have the desired effect. Am I looking at the wrong index.php file? Or is there some other mistake I’m making? Sorry if this is a dumb question, I am very much a beginner!

Viewing 3 replies - 1 through 3 (of 3 total)