I removed my page titles using the below instruction, but now the page description shows up? (Dawn)

flam
Visitor
3 0 0

Hi all, I am using Dawn theme and wanted to remove page titles. I followed the below instructions to remove page titles from pages. However, now a page description shows up in place of the title. How do I now remove that?

1. In your Shopify Admin go to online store > themes > actions > edit code
2. In your theme.liquid file, find the </body> (press CTRL + F or command + F on Mac)
3. paste this code right above the </body> tag:

<style>
.main-page-title.page-title:nth-child(1){
    display: none !important;
}
</style>
Reply 1 (1)

flam
Visitor
3 0 0

I fixed this by going to main-page.liquid and changing <div class="rte"> to <div class="page-description"> and then in theme.liquid adding 

       .page-description{
        display: none !important;
}
 
under the code I mentioned in my original question.