Change CSS in Child theme 1

Home Forums Legacy Support Support queries Child Themes Change CSS in Child theme 1

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #86582
    susene
    Participant
    Hi, I have created a child theme by copying the Child Theme 1 and renaming it. It is activated. I would like to change a few things in the design, like color of the header. I have tried two things:
    1. to change the CSS (in Dreamweaver) by writing my own color for background of the header

    2. deleting the background color in the CSS (in WP admin) and then change it in the Customizer.

    But the color doesn´t change at all. I want to change more things, and I usually work with the CSS and code in an editor when I change WP themes. Why can I not change the code myself? Is it hardcoded in some way? I work locally with this at the moment, so you won´t be able to log in to my site... Thanks!

    #86681
    H.K. Latiyan
    Participant
    No, its not hard coded. You can change most of the color settings from wp-admin->appearance->customize: For header go to customize->header and change the color settings, other color settings comes from customize->body. There is also theme primary color set from customize->theme. ----- If you are writing your own custom css then make sure you write more specific css or give !important to the css so that it overrides the default css. You can add the custom css in the style.css file of your child theme. Let me know if you face any issues with this.
    #86917
    susene
    Participant
    I have tried to change and update the style.css in my Child theme, but nothing happens.    
    #86983
    H.K. Latiyan
    Participant
    I tested this on my test setup and it works fine. Please check if you have written some css in your appearance->customize->custom css, which may be overriding the css you add in style.css file.  
    #87164
    susene
    Participant
    I have tried to change the link color in the mainmenu. It seems to be in a grey color and when hover it becomes white. I would like it to be white all the time. The color for links in customize theme is #FFF, so where is this hover effect coming from? I have tried both to add css to the custom CSS box and change style.css. Nothing happens...  
    #87318
    H.K. Latiyan
    Participant
    Please share the screenshot where you want to change the color, I'll share the css with you.
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Change CSS in Child theme 1’ is closed to new replies.