- This topic has 8 replies, 2 voices, and was last updated 10 years, 8 months ago by Theme Horse Support Team.
-
AuthorPosts
-
March 19, 2014 at 7:33 am #8874ManoranjanMember
Hi,
Though I can see the bullet points in the editor, they vanish when the page is published. How to solve this?
March 20, 2014 at 6:28 am #8916Theme Horse Support TeamKeymasterHi Manoranjan
I tried in my editor and its working fine. Where have you tried it ? If you have link then send us ?
Thank you
SunilMarch 20, 2014 at 6:45 am #8917Theme Horse Support TeamKeymasterHi
I saw that you imported the double time CSS. You have created here child theme and done wrong.
Once you use this code
@import url(“../attitude-pro-1/style.css”); it will automatically export the css. So you dont need to copy paste all other CSS. This caused the porblem of Bullet. So which CSS you want only add that CSS not the other all CSS. If there is still the problem then we will look on it.Thank You
SunilMarch 21, 2014 at 3:57 am #8932ManoranjanMemberThe bullet points problem is solved now.
But how will I delete parent theme Css in child theme style.css, I have done so much of customization already. Will it cause any problems if I wont delete?March 21, 2014 at 4:54 am #8937Theme Horse Support TeamKeymasterHi
You can’t delete Parent theme CSS. Why have you made this child theme if you are going to delete parent theme? The CSS you need to customization is only customize in child theme but not in the parent theme. You can customize in child theme css only.
Yes if you customize in parent theme then while updating our new version all your customization will be lost. So to be save from your customization we make child theme.
Thanks
SunilMarch 21, 2014 at 5:58 am #8940ManoranjanMemberI think you dint get me. I’m not telling about deleting the parent theme css.
You said I have coped double time css in child theme style.css ( @import url(….) and the whole of style.css from parent theme). So I asked you how can I delete the copied parent css part in child theme style.css.
Hope am clear.Another thing is, how can I make changes in child style.css if I do not have the complete code. (I understand the child theme style.css contains just few lines of child name, template name etc)
March 21, 2014 at 6:24 am #8942Theme Horse Support TeamKeymasterI think you are not getting how the child theme works. You should try to research first on how child theme works then only you would be able to implement it correctly. But I will try to make you clear in short.
Actually when you create child theme style you write @import url(….) to import all the css of the parent theme so that the child theme looks exactly like the parent. Now if want to modify any part then you have to write the css below the @import url(….). This css written below will override the parent css. Remember there is no such thing of deleting parent css. You can only override it with your new css but cannot delete it. Actually you don’t need to delete the css since the overriding will do fine. Let’s see this in example.
Suppose you parent theme has this
h1 {
padding: 4px;
border: 1px solid #000000;}
and now you don’t want this or you want to delete it. Now what you can do this in your child theme to counter it
h1 {
padding: 0px;
border: 0 none;
}This will counter the css in parent. I hope you now understand how you should go ahead.
March 21, 2014 at 6:36 am #8943ManoranjanMemberThank you so much for this useful info. I think I got it. Whichever part I want to change in parent, I should only code that part in child css.
Now should I create a fresh child theme to continue customization or can continue with the current one?March 24, 2014 at 6:26 am #8978Theme Horse Support TeamKeymasterYou can continue on the same current one
-
AuthorPosts
- You must be logged in to reply to this topic.