March 14, 2016 at 10:16 am
#43440
Theme Horse Support Team
Keymaster
Hi Heidi,
We are sorry that you are using ambition pro theme and posting the topic in attitude pro forum post. Please post your topic on related theme. As this feature is not available at ambition pro. This is only available at attitude pro theme.
Yes to remove the page title from header and want to have as shown in above screenshot then it needs code customization.
Go to theme folder (ambition-pro -> inc -> structure -> content-extension.php on line no 120 to 127 ) you will find below code
/****************************************************************************************/
add_action( 'ambition_before_loop_content', 'ambition_loop_before', 10 );
/**
* Contains the opening div
*/
function ambition_loop_before() {
echo '<div id="main">';
}
replace it with this below code
/****************************************************************************************/
add_action( 'ambition_before_loop_content', 'ambition_loop_before', 10 );
/**
* Contains the opening div
*/
function ambition_loop_before() {
echo '<div id="main">';
echo ambition_header_title();
}
Before making changes in the code first create a child theme and then customize the code to be safe from data loss while updating to new version.
Thank you!