Custom ID for certain menu item?
Simply use the “Class”-field for styling. Give it a unique class, target it in your CSS file. Done.
Simply use the “Class”-field for styling. Give it a unique class, target it in your CSS file. Done.
Try modifying the header section a bit to comply with the standards. Here is what your code right now: <div id=”header-image”> <img width=”1102″ height=”350″ alt=”” class=”header-image” src=”http://onofri.org/example/wp-content/uploads/2013/06/header1.jpg”> </div> Here is how you can modify the things: <div id=”header-image”> <a href=”https://wordpress.stackexchange.com/questions/104349/<?php echo esc_url( home_url(“https://wordpress.stackexchange.com/” ) ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” … Read more
WordPress provide a filter hook to custom logo customization. The hook get_custom_logo is the filter. To change logo class, this code may help you. add_filter( ‘get_custom_logo’, ‘change_logo_class’ ); function change_logo_class( $html ) { $html = str_replace( ‘custom-logo’, ‘your-custom-class’, $html ); $html = str_replace( ‘custom-logo-link’, ‘your-custom-class’, $html ); return $html; } Reference: How to change wordpress … Read more