You are on the right track
First off.
Start with a css
file.
/*
Theme Name:
Theme URI:
Description:
Author:
Author URI:
Version:
Template:
*/
@import url("../{theme_name}/style.css");
If you overwrite styles:
Only write the classes and ids you want to overwrite and end them with an !important
for example:
.container{
margin:0 0 0 50px !important;
}
Only copy the files you want to overwrite, not the entire theme.
Create a functions.php in your child-theme folder and enqueue the child theme css file
Function wp_enqueue_scripts() {
wp_register_style( 'childstyle', get_stylesheet_directory_uri() . '/style.css' );
wp_enqueue_style( 'childstyle' );
}
add_action( 'wp_enqueue_scripts', 'wp_enqueue_scripts', 11);
This should get you going….
Related Posts:
- Plugin: register custom post types, child ready and performance best practices
- why post_class() function apply css classes to all other files?
- How to use POST method using custom wordpress button?
- Cannot modify a registered custom post type rewrite slug
- How to create a custom search for custom post type?
- what is the correct way to compare dates in a WP query_posts meta_query
- How do you use a CPT as the default home page?
- Can a custom post type have a Parent Page?
- don’t publish custom post type post if a meta data field isn’t valid
- How To Limit Hierarchical Pages Depth (For Custom Post Types) To Children Only
- Custom Post Types on Category Pages
- How do I filter the excerpt metabox description in admin?
- Setting up custom post type archives in WP3.1? Any luck?
- Custom Taxonomy with Custom Post Type Finds No Posts
- add_rewrite_rule and custom variable
- TV Show database – Best way for structuring it?
- Why is the »_builtin« parameter not advised in »register_post_type()« for custom post types?
- Display posts of custom type in hierarchical order
- Query posts by custom post type and custom taxonomy
- Restrict categories to a custom post type
- Query in a Hierarchical Custom Post Type for Children vs Siblings
- Get the post children count of a post
- Programmatically adding posts
- Keep main articles and author blogs seprerate, News / Magazine like site
- Sub-Sub-Blogs — creating and importing content into a custom sub-type
- Share parent path between Custom Post Types and Pages?
- removing custom tax & CPT slug, adding taxonomy term in front of custom type
- Child Theme for Mobile Browsers
- Custom Post Type, Saving Multiple Checkboxes
- How to create an advanced filter search?
- Can I make WordPress use a custom template for a child page
- Get rewrite slug of custom post type in template
- Placeholder in HTML editor text area?
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- Custom rewrite rule for hierarchical custom post type
- List children on child post
- How to Mass Delete Images from Media Library
- How to integrate video slide using custom post types?
- List custom taxonomy specific to one custom post type
- Don’t know how to show custom taxonomies from a custom post_type
- Hide parent categories when clicked, and show it’s childs
- Time based access control of custom post types – what is good approach?
- Show titles, date of all posts on single category page
- Custom post Type, child of a Page?
- A form that can save/edit after first input
- Allow users to create posts without logging in?
- Best structure / rewrite rules to achieve the following url
- Categorise Custom Post Types
- 404 Error on form submission within custom post type
- Custom URL redirect in WP
- List of child custom post types lists all custom post types
- Redirect to first child on Custom Post Type (without template)
- attach CPT data to a taxonomy
- Creating a non-hierarchical Taxonomy that behaves like categories
- Separate Content from gallery (custom post type)
- Custom Post type content within a slider
- How to export custom post type with ACF to individual file with automation?
- Displaying a custom post type using get_template_part into a specific layout
- What happens to my older posts if I switch to a child theme?
- Displaying a list of Contacts
- WordPress as a frontend website for iOS app [closed]
- How can I make custom static widgets/areas on my homepage?
- Displaying One Custom Post Type’s Content On Single Post of Another Custom Post Type
- custom comment fields on CPT
- Extend Custom Post Type
- Add Class After 4th Post
- Insert custom fields to a custom post type
- How set template for “custom post type” individual post
- Use Gravity Forms and a Shopping Cart for output to Freshbooks for an Estimate [closed]
- How do I ensure that post_type and Taxonomy use the same slug?
- Migrate Custom Post Type with Custom Fields data and parent child order
- Setting Parent Page to Post
- Question about link two types of data in wordpress
- Custom Form / Search with Custom Post Type Data
- Search for custom field input of a custom post type in ajax live search
- wp_set_object_terms creates taxonomies but does not add custom posts to it
- Custom Post Type and Structure Question
- WordPress next post by ajax call on button click
- Custom post type defaults to index.php for archive page
- customize Dokan multi vendor: how can i set every Dokan as child of another dokan?
- pricefilter without WooCommerce
- Convert attribute woocommerce terms (taxonomy terms) in posts of custom post type
- Display a list of sub-pages of Custom Post Type Parent Page
- I have a problem with displaying children pages of custom post type
- Update/publish custom post type with jQuery?
- Is there a best practice, or typical way to do AJAX updating for data on a custom admin screen or post.php?
- Link two different post using there post_id in post meta
- Help with Travel Guide Setup
- WordPress custom post type and page
- Custom post type child page 404
- Sort by Custom Post Type (Multiple Loop)
- Selecting which pages to display custom post type on using checkbox
- Display all post types together
- Displaying information from Custom Fields in template with Types?
- 2 language CPT content
- Is There A Way To Add Another Field To Custom Post Type (Not Custom Field/Meta)?
- How to add custom column to Custom post page list?
- Test if a Category contains certain Custom Post Types
- Exposing custom fields to the user in custom type post
- How can I show template dropdown in custom post type?