Override the reponsive.css in the theme from a child theme.

This topic has 10 replies, 3 voices, and was last updated 10 years ago ago by Eva Kemp

  • Avatar: bentpovlsen
    bentpovlsen
    Participant
    December 15, 2014 at 13:57

    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

    9 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 15, 2014 at 15:30

    Hello,

    Please provide us with link to the page and wp-admin access in Private Content.

    Regards,
    Robert Hall.

    Avatar: bentpovlsen
    bentpovlsen
    Participant
    December 15, 2014 at 17:29

    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

    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 15, 2014 at 17:37

    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.

    Avatar: bentpovlsen
    bentpovlsen
    Participant
    December 15, 2014 at 18:05

    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

    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 15, 2014 at 18:35

    Hello,

    You can try to rewrite css style in reponsive.css file via custom.css with !important.

    Regards,
    Robert Hall.

    Avatar: bentpovlsen
    bentpovlsen
    Participant
    December 15, 2014 at 19:07

    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

    Avatar: Eva
    Eva Kemp
    Support staff
    December 16, 2014 at 10:51
    Avatar: bentpovlsen
    bentpovlsen
    Participant
    December 17, 2014 at 08:56

    Hi Eva

    It was exactly, what I needed, It solved my problem.

    Thank you for the fine support – THX

    Best Regards
    Bent

    Avatar: Eva
    Eva Kemp
    Support staff
    December 17, 2014 at 13:41

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 10 results - 1 through 10 (of 10 total)

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

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.