- This topic has 2 replies, 2 voices, and was last updated 7 years, 6 months ago by .
- The topic ‘Site Description H2’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I decided to add the site description to the header by removing below in functions.php :
//* Remove the site description remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
The site description shows in the header as a H2, and I did not want to use CSS to make a H2 class look like a <P> when I could change the initial code in the file.
I believe that the <H2> tag for genesis_site_description is in genesis/lib/header.php. Is it good practice to add a lib directory to a theme so I can have customized core framework files?
I should I stop being AI and use CSS to reformat the H2?
You should use the filters built into each core Genesis function to modify the default output via your child themes functions file.
Cool thanks BD
© 2023 WPEngine, Inc.