Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #809431

    corylewis
    Participant

    Maybe you could help me with this as well. I have this gap between my slider and the topbar. What class would I use to fix this. I was thinking of margin. Here is a snippet of it. You can see the white gap between the blue topbar and the slider. Thanks.

    #809441

    corylewis
    Participant

    Hey sorry I did it. Just used margin on .masthead
    But I put it in custom css on the individual page and it worked. Then I took it out and put it in my child theme and nothing happened. So I am not sure if my child theme is working. Can you help me with this?

    #809760

    Christopher
    Moderator

    Hi there,

    Upon checking your site, I see you added CSS successfully in child theme’s style.css, see the attachment.
    Can you confirm that you’ve fixed it ?

    Thanks.

    #810378

    corylewis
    Participant

    Well it seems to work for some things. So I have some css in the global customizer. For instance the code below. If I cut that out of the customizer and paste it in the child theme, it doesn’t work. I tried cutting out all my global customizer css and pasting it in the child theme.
    So my question is can you do that. Or do some things not work in the child theme?

    .x-topbar {
    background-color: #336699;
    }

    #810544

    Rupok
    Member

    Hi there,

    Thanks for updating. It’s because the Customizer settings will override the Child Theme’s CSS. You can try adding !important tag to your CSS :

    .x-topbar {
      background-color: #336699!important;
    }

    Hope this helps.

    Cheers!