-
AuthorPosts
-
February 23, 2016 at 7:31 pm #809431
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.
February 23, 2016 at 7:52 pm #809441Hey 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?February 24, 2016 at 12:44 am #809760Hi 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.
February 24, 2016 at 9:36 am #810378Well 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;
}February 24, 2016 at 11:24 am #810544Hi 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!
-
AuthorPosts