Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM how to connect custom my_media.css in child theme? Reply To: how to connect custom my_media.css in child theme?



I don’t what you are doing but things are very very easy.

When you create a child theme you need to make a style.css in child theme folder
in the header of style.css you need to have

Theme Name: Wp Estate Child
Theme URI:
Template: wpestate
Description:WP Estate Child theme
Author: Ana Maria – [email protected]
Author URI:
Text Domain: wpestate
Tags: white, one-column, two-columns,left-sidebar, right-sidebar, flexible-width, custom-menu, theme-options, translation-ready
License URI:
@import url(“../wpestate/style.css”);

the example is made for wpestate. Replace wpestate with wpresidence and it will work for wpresidence theme also.

this is how child themes are made – the style.css from child is appended to the original theme style.css

Second – if for some reason you want to include another css file then in child theme you need to create a functions.php that will also be appended to the original functions.php

in the functions.php you can use instructions like
wp_enqueue_style(‘wpestate_media’,get_template_directory_uri().’/css/my_media.css’, array(), ‘1.0’, ‘all’);

but with a small difference :
instead of get_template_directory_uri() use get_stylesheet_directory_uri() – see here why :

All the info i just posted here are available free on . Also i don;t want to be rude but i think you may need to study a little about how the child theme are working.

In the end – there is nothing hard coded or something similar- themeforest will not allow for such things. You just need to read the documentation and apply what is says in there.

Good Luck