Archived topic
H2 Typography Upper
11 replies · Started by Sergei on April 9, 2018
Hello! How can i move these h2 typography little bit upper? Thanks.
Hi there,
Try this CSS:
.post-image-above-header .inside-article .post-image {
margin-bottom: 0.5em !important;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
If not can you link me to your site?
Hmm... strange thing. When i add this css to Custimization->Aditional CSS works fine. But when i put this css in child themes style.css then i doesnt work for me. Delete all cache with plugin and delete all cache in web browser.
Are there any other CSS in your child theme's style.css?
If so it's likely that there are errors in the CSS above which stops it from executing.
Yeap, i have some other css in child theme's style.css So, maybe better add all css in aditional css place not in style.css?
It's better to fix the mistakes in child theme’s style.css so you can have all the CSS in there instead of spreading them out.
Try this site: https://jigsaw.w3.org/css-validator/
Does it work if you add my CSS at the very top of your child theme’s style.css?
Can you link me to the page in question?
Really hard to help without seeing it live.
I delete all css from style sheet and leave only yours css, but nothing happening. Here is website
It's getting overwritten.
Try the edited code above: https://generatepress.com/forums/topic/h2-typography-upper/#post-546412
Leo its working now but only showing in style.css orange ! sign. Thank you for your help.
No problem!