I have a theme I am trying to customize the style, and to do so, I have created a child theme. The child theme contains a style.css
and I've been able to override certain attributes, but I can't remove them.
Example:
Original CSS:
.mvp-blog-story-img img {
margin: 0 auto;
position: relative; //I want to remove
left: -9999px;//I want to remove
right: -9999px;//I want to remove
width: 100%;
min-width: 560px;
width: 100%;
}
Override CSS:
//This is what I want the final CSS to be
.mvp-blog-story-img img {
margin: 0 auto;
width: 100%;
min-width: 0px;
}
I'm assuming that this is happening because the style sheet will only override the attributes that exist in the parent theme and child theme; thus, leaving attributes that are NOT in the child theme, in the parent theme.
How can I remove the parent theme attributes within the child theme style.css
?