WordPress.org

Ready to get started?Download WordPress

Forums

Responsive child theme problem. (5 posts)

  1. fiedal
    Member
    Posted 1 year ago #

    Hi Folks,

    I faced a rather simple problem. But I am a novice in wordpress. So couldn't figure it out.
    I have a style theme for responsive. All the css modifications are working fine. But when I load it in smaller screen, mobile.css is loaded where I have to modify. Want to do it in the child theme. The location of the mobile.css in main theme is <main theme>/css/mobile.css. So I have put another mobile.css in <child theme>/css/mobile.css and imported the main mobile.css into it. But its not working.
    How can I change the mobile.css which is loaded only for small screens?

    Thanks in advance.

  2. Fiona79
    Member
    Posted 1 year ago #

    I'm having the same problem with a different theme. My responsive css file for the parent theme is in parent-theme/css/responsive.css. So, I created in my child theme child-theme/css/responsive.css and added @import to the beginning to import all the parent css. Any thing I put in my child responsive.css isn't being recognized.

    As a work-around, I've been adding the my changes to my style.css with @media queries, but I end of having to add !important to just about everything. It's not a very proper way of doing things, but it's working.

    If anyone else has any suggestions, I would love to hear them, and I'm sure fiedal would too.

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    If you are using a different theme, it's not the same problem - please start your own thread AND include a link to your site.

  4. Fiona79
    Member
    Posted 1 year ago #

    Okay. Sorry. Nevermind. Good luck, fiedal. Hope you get an answer.

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @fiedal - for help with how Responsive theme is coded or set up, best to use the dedicated support forums here:

    https://cyberchimps.com/forum/free/responsive/

Topic Closed

This topic has been closed to new replies.

About this Topic