Post Title Above Featured Image In Ethos

hi
I know that to do this I will need to edit a php file, content.php, which is not an issue, but what is an issue is that there simply is NO Ethos folder in my Child Theme. I installed an Ethos demo which changed my stack over from Integrity to Ethos, which is not an issue, but it failed to write the requisite file structure for Ethos in the Child Theme.

Obviously the file I would normally need to adjust would be wp content/themes/pro/framework/views/ethos/content.php, but that location and file do not exist. In the parent theme, Ethos is present, so do I need to copy the entire Ethos folder across to the child theme and what to do with the line - <?php x_get_view( 'ethos', '_content', 'post-header' ); ?> to enable the post title to be above the featured image?

Thanks in advance

Hi @guybower1,

By default, you will not see all the directories in the child theme. If the directory path is not present, you may manually create the file path then place the file to the correct directory and make the changes.

In you case, if you are not seeing the ethos directory in the views folder, you can manually create it and place the content.php file inside then make the changes there.

Also, this line of code <?php x_get_view( 'ethos', '_content', 'post-header' ); ?> refers to the _content-post-header.php file.

Hope this helps.

hi Jade

Thanks so much for your reply.

No problem to create the directory structure for the particular file, but what is the change needed to enable the post title to be located above the featured image?

Regards

I actually found a post reply from one of your colleagues suggesting moving that line I had above to just below line 16. I did this and now the post title sits about the featured image. I can just adjust CSS to style it how I would like

Regards

Glad to hear you got it sorted, @guybower1.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.