0

In header.php in my child theme I am trying to change the following class and id names

<header id="masthead" class="site-header" role="banner"> 

into

<header class="header" id="myTopnav" role="banner">

I changed class and id names manually but ‘view source’ still showing original ones - id=“masthead” class=“site-header”

Are those WP generated classe and ID? Is there a way to change them?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.