Right, I would expect that to work as well… but it doesn’t seem to be.
In my /flexform/css/responsive.css file, I have the following code
@media only screen and (min-width: 1250px) {
/* LAYOUT */
.boxed-layout {
width: 1230px;
}
}
I want that width changed to 1200px, so in my /flexform-child/style.css, I add
@media only screen and (min-width: 1250px) {
/* LAYOUT */
.boxed-layout {
width: 1200px;
}
}
The desired effect does not take effect, chrome dev tools inspect element still shows .boxed-layout as 1230px.
The html head tag show my linked css files as such:
<link rel="stylesheet" id="main-css-css" href="http://localhost/nkaddwp/wp-content/themes/flexform-child/style.css" type="text/css" media="screen">
<link rel="stylesheet" id="responsive-css-css" href="http://localhost/nkaddwp/wp-content/themes/flexform/css/responsive.css" type="text/css" media="screen">
Therefor, regardless of what I do to /flexform-child/style.css, the responsive.css file will always overwrite it, unless it is moved above the reference to /flexform-child/style.css in the header tag.
So, it would seem there is a need to do what I suggested in the original post since I cannot seem to edit any of the responsive files…