You are correct, that WordPress will load the style.css file from your parent theme first, and then the style.css from your child theme. These means because of how CSS itself works, you have to specifically override any rule you wish to override.
What this means is that you would need to modify the CSS within your Child Theme’s style.css to be:
.header {
margin-top: 15px;
margin-bottom: 10px;
width: 100%;
height: 150px;
background: none;
border-width: 0;
}
Related Posts:
- Getting rid of unused css directives [closed]
- Change logo on each page of University Hub theme [closed]
- How do I copy my Parent Templates to my Child Templates?
- How to load parent theme style.css?
- Child Style.css not overriding parent theme style located in assets/css/main.css
- Creating new templates in child themes breaks layout
- Port existing Bootstrap site to WordPress?
- Child theme’s stylesheet cannot load [closed]
- What’s the default order used by WordPress to load CSS files?
- The requested theme does not exist. Stylesheet is missing – error after changing style.css name to my-styles.css in wp child theme?
- Why submenu item’s background color is not changing by css?
- Strange Theme Error – parent style occasionally showing though child theme
- Child theme after CSS modification
- Custom Theme Additonal CSS “” are transformed to “>” and “<”
- Opinions and recommendations on the best barebones base theme [closed]
- Customizing a WordPress theme without changing it?
- how to add version of style.css in wordpress
- How to move the sidebar in TwentyFifteen to the right?
- Override parent theme translation on child theme
- Starter Theme vs Parent Theme? Pros and cons
- How to set thumbnail image for a (child) theme
- How can I version the main CSS file?
- Do Child-Themes automatically load the Translation from the Parent-Theme?
- Difference between stylesheet_directory and template_directory
- How to override the “inc” folder (or any folder) in a theme using child theme?
- How to set two different themes on one WordPress? (Desktop vs. Mobile)
- Jquery in Child Theme
- Removing Shortcodes from Child Theme
- I’m trying to add an image in my CSS
- How to use scss in wordpress theme?
- How to automatically highlight syntax of code in a post?
- How to add the main style.css to my index.php?
- Edit theme wp_head
- The style.css stylesheet doesn’t contain a valid theme header
- Are custom inner theme folders in any way overridable by child themes?
- How to avoid loading style.css twice in child-theme?
- Remove action within a class in a parent theme from the child theme
- CSS in child theme not overriding the parent theme [closed]
- Child Theme Not Overriding Parent Theme
- Override parent theme translation on child theme
- Exclude stylesheet from admin
- hfeed CSS class in Twentyeleven Theme
- Child-theme breaks site
- Change Theme from Plugin based on query_vars
- get_header(‘header2’) not working properly in child themes
- Want to create Child theme, but already edited Parent theme css files and some php files
- Is it possible to use child theme of child them?
- Theme information in style.css being corrupted
- Can I create multiple instances of the BuddyPress Activity Stream with separate themes? [closed]
- How do you create a custom WPTouch theme?
- How to start learning CSS and theme development?
- Can’t Install Child Theme “The parent theme is missing. Please install the “Default” parent theme.”
- Can I rename a theme’s folder and still receive updates?
- Child theme not visible
- Overwriting templates in child theme and performance
- How do I apply my CSS to a theme page?
- Themes—Child Themes
- how to remove padding from left and right side? [closed]
- 404 Error while accessing the font files
- Child theme not using parent theme css/styles/formatting?
- Does theme update also update a child theme zip
- What is the major difference between child theme and normal theme
- Should a child theme share the same theme options row as the parent, or should it have it’s own options row?
- How to create child theme of already active and customized theme
- Inject widgets from one sidebar into another with PHP
- Where all are child themes recorded when they are created in WordPress
- I have some doubts regarding how to implement child theme
- none of my css is working in my child theme
- X-Axis of Site is Messed Up Because it is in Hebrew
- How do I get rid of or change the footer in my child theme?
- Style the archives/category sidebar widget via theme
- How to find out if page_for_posts is showing (in order to style menu item)
- Custom CSS doesn’t work in edit mode
- Remove transparancy in Sydney theme’s headerimage
- How to change only one javascript function in wordpress child theme?
- How can I add class to every quote element?
- Mobile issue – website isn’t properly detecting screen size [closed]
- Edited Child Theme’s “header.php” but it doesn’t appear to change the file
- Updating my free theme delete all my changes [closed]
- Twenty fifteen theme – change responsive menu condition
- Switching to a child theme
- CSS Start Fresh option on; main.css still being loaded [closed]
- Getting 503 on various files
- Do not show one specific widget on one specific page
- How to style the post previews/links without it affecting the main posts?
- Different logo on homepage
- How can we hide the parent’s theme url at the child themes details on a multisite?
- Is it possible to create child themes using the WordPress Dashboard?
- Finding and disabling ‘rogue’ stylesheet from header: Source Sans Pro
- Cannot apply custom css to IE in the theme
- how do i in ignore/disable/delete a javascript call from parent in child theme?
- Can I create a child theme from a premium theme without losing my posts and page etc that I already have?
- Need to edit themes HTML code
- Enqueue custom css file on specific page
- Plugin and themes are adding the same stylesheets
- Theming global variables – initializing in index.php but using in header.pho
- Is it good practice moving the main stylesheets after the plugin styles?
- Not all CSS elements transferring via parent to child?
- What Generated Classes and IDs That Is Always Used On All Themes?
- Understanding the theme details in style.css