Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 5 years ago.
Improve this questionI have installed astra theme on my wordpress. How can i disable primary header ? I used following code in child theme but still didn't work.
add_action( 'wp', 'astra_remove_header' );
function astra_remove_header() {
remove_action( 'astra_masthead', 'astra_masthead_primary_template' );
}
here is the screenshot, I want to delete upper logo:
Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 5 years ago.
Improve this questionI have installed astra theme on my wordpress. How can i disable primary header ? I used following code in child theme but still didn't work.
add_action( 'wp', 'astra_remove_header' );
function astra_remove_header() {
remove_action( 'astra_masthead', 'astra_masthead_primary_template' );
}
here is the screenshot, I want to delete upper logo:
Share Improve this question edited Jul 21, 2019 at 11:06 norman.lol 3,2313 gold badges30 silver badges35 bronze badges asked Jul 20, 2019 at 20:17 MajidMajid 1154 bronze badges1 Answer
Reset to default -3With CSS you can disable this upper logo.
display: none;