Twenty Seventeen – Navigation bar, logo, header size
Add the following to your style.css. Using Flex to align and space the items in the header. #masthead .wrap { display: flex; justify-content: space-between; } .navigation-top a { width:100%; }
Add the following to your style.css. Using Flex to align and space the items in the header. #masthead .wrap { display: flex; justify-content: space-between; } .navigation-top a { width:100%; }
Actually my mistake, I was overriding the translation of the parent theme using it’s text domain for child theme, while I should have defined a different text domain for child theme and load both domains into child theme’s functions.php like this: add_action( ‘after_setup_theme’, ‘mr_load_textdomain’ ); function mr_load_textdomain(){ //for child load_theme_textdomain (MR_DOMAIN,get_stylesheet_directory().’/languages’); //for parent load_theme_textdomain (ET_DOMAIN,get_template_directory().’/lang’); … Read more
You need to understand/learn how WP generates pages. It is all done through template files, which are files that contain the PHP and HTML code to generate the HTML. There are no HTML pages (basically) that are used by WP themes. There are templates that query the database and produce HTML output according to the … Read more
Why does my child theme’s enqueue of styles mess up the order of script enqueues from the main theme?
My wordpress site is crash due to excute child theme
Yes, you can technically use your own HTML structure and get rid of all the IDs and selectors you don’t like. However, this is not how you build child themes. Child themes are meant to keep most of the underlying HTML structure of a theme – you can tweak it in some places, but if … Read more
From my answer to I modified the parent theme without creating a child theme (similar question) As stated in a comment, any changes you made to the parent theme will get overwritten with the theme update. But, you could copy all of the parent theme code to a new theme folder, adjust the theme header … Read more
I’m not experienced with Genesis, specifically, but I imagine its child themes work the same as child themes for any other theme. As documented, a child theme is created by adding a Template: line to the style.css header, which is the directory name of the parent theme: /* Theme Name: Genesis Child Theme Template: genesis … Read more
How to stop customizer settings inheritance from parent to child theme?
If you copy the header.php file from the parent theme to the child theme it should work fine. Normally, child theme files take priority over parent theme files. If for any reason it causes a problem, remove the file and the website should go back to normal.