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?

#3399

Vasily

At the moment I solved my problem with inserting all styles for search button into custom CSS area in the admin panel of the theme like this:

@media only screen and (max-width: 959px){
.search_map, .search_map:hover {
width:100%;
height:70px;
position:relative;
display:block!important;
-webkit-box-shadow:none;
box-shadow:none;
-moz-box-shadow:none;
background:url(../newwebsite/wp-content/themes/wpestate-child/css/css-images/searchbutton.png);
background-position:50%;
background-repeat:no-repeat;
background-color:#00b4ce;
}
}

If I put only some custom parameters then others just doesn’t want to apply from the native my_media.css. Thats why I need to put all of it…

But I would be greatly appreciate it if you kindly help me with function.php (now this is just empty file in my child theme)
Thanks a lot!