Tagged: x
-
AuthorPosts
-
June 8, 2016 at 3:10 am #1031433
lisacole1ParticipantHi
On http://www.kentbabymatters.org/who-to-speak-to/
I’d like the top line of the post, which is a H1 to line up with the top of the sidebar.I’ve tried
h1, .h1{ margin-top: 0px; font-size:32px; }but it’s not making any difference. There is no space in the page itself.
any ideas appreciated, it would be great if we had easier control over the automatic spacing.June 8, 2016 at 6:24 am #1031650
lisacole1ParticipantI’ve taken off that code because it was messing up the front page, so I just need some way of making the top of the h1 on posts and pages line up with the sidebar
June 8, 2016 at 9:23 am #1031922
JoaoModeratorHi There,
Can you try:
.single-post .entry-content h1, .single-post .entry-content .h1 { margin-top: 0px; font-size:32px; }Hope that helps,
Joao
June 9, 2016 at 1:12 am #1033476
lisacole1ParticipantThank you – it’s not just the h1 though – have a look at this page
June 9, 2016 at 1:57 am #1033519
lisacole1ParticipantSorry but the H1 still doesn’t line up with the sidebar either
If I use inspect element I can see that the div.entry.wrap is taking up that space but I don’t know how to correct it
June 9, 2016 at 1:58 am #1033521
Rue NelModeratorHello There,
To resolve this issue, please also add the following css code in the customizer, Appearance > Customize > Custom > CSS
.single-post .entry-content h1, .single-post .entry-content .h1, .page .entry-content h1, .page .entry-content .h1 { margin-top: 0; } .single-post .entry-content.content, .page .entry-content.content { margin-top: 0; } .single-post .entry-wrap, .page .entry-wrap { padding-top: 0; }http://prntscr.com/be64xh
http://prntscr.com/be65xsHope this helps.
June 10, 2016 at 2:20 am #1035438
lisacole1Participantbetter, but still happening on h2
June 10, 2016 at 3:53 am #1035549
Paul RModeratorHi Lisa,
Please add mtn class to all your first headline
eg.
<h2 class="mtn">These resources are provided for Breastfeeding Specialists and Health Professionals</h2>mtn means Margin Top None.
Thanks
June 10, 2016 at 4:03 am #1035563
lisacole1ParticipantHi. I really need this so the client can just add pages and posts, I can’t expect them to do any coding. Is there another way please.
June 10, 2016 at 7:24 am #1035747
Paul RModeratorHi,
You can add this under Custom > CSS in the Customizer.
.single-post .entry-content h2, .single-post .entry-content .h2, .page .entry-content h2, .page .entry-content .h2 { margin-top: 0; }Hope that helps.
June 13, 2016 at 1:42 am #1039105
lisacole1Participanttotally perfect! thank you so much!
June 13, 2016 at 1:47 am #1039111
NicoModeratorHappy to hear that.
Feel free to ask us again.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1031433 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
