This topic has 10 replies, 3 voices, and was last updated 10 years ago ago by Eva Kemp
Hi Eva Kemp
How do I override the legenda’s themes responsive.css file from the child theme?
The child theme is active, and running correct, but any modification in the reponsive.css file in the child theme are not shown on the site.
I’ve copied the responsive.css to the child, and changed it, but with no visuel change. I’ve tried in the root, and in a folder CSS as in the original themes.
Please advice -THX
Hello,
Please provide us with link to the page and wp-admin access in Private Content.
Regards,
Robert Hall.
Hi Robert
Thank you for the quick reply.
I’m running on a local server (XAMPP) on my PC, so I can’t give access in the moment.
But can you give a hint, what I should look for.
My style.css in the child looks like this.
Theme Name: LEGENDA – 8theme WordPress theme Child 01
Theme URI:
Description: Child 01 theme for the LEGENDA – 8theme WordPress theme theme
Author: 8theme
Author URI:
Template: legenda
Version: 2.5
*//* Generated by Orbisius Child Theme Creator (http://club.orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Mon, 15 Dec 2014 12:01:54 +0000 */
@import url(‘../legenda/style.css’);
Best regards
Bent
Sorry, but we need look at site online to check your issue.
Also try to create custom.css file and test your changes.
Here is a video tutorial how to create custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&feature=youtu.be.
Regards,
Robert Hall.
Hi Robert
I will put it online tomorrow, and send you the info you requested.
The custom.css is working,I’ve already made som changes there.
Best regard
Bent
Hello,
You can try to rewrite css style in reponsive.css file via custom.css with !important
.
Regards,
Robert Hall.
Hi Robert
Normaly I would do that, but the file responsive.css already use !important, in the line I want to change.
I need to change this
.logo img{
max-width: 215px !important;
best regards
Bent
Hello,
Please try to use one of the solutions:
https://wordpress.org/support/topic/should-not-load-css-after-child-theme
http://wordpress.stackexchange.com/questions/115637/how-can-i-make-new-css-file-in-child-theme-override-styles-in-child-themes-sty
Thank you.
Regards,
Eva Kemp.
Hi Eva
It was exactly, what I needed, It solved my problem.
Thank you for the fine support – THX
Best Regards
Bent
Hello,
You’re welcome.
Regards,
Eva Kemp.
Tagged: child theme, override, responsive, themes, woocommerce, wordpress
The issue related to '‘override the reponsive.css in the theme from a child theme.’' has been successfully resolved, and the topic is now closed for further responses