Tagged: x
-
AuthorPosts
-
January 13, 2017 at 3:45 pm #1329217
nillamaryParticipantHi,
1. How can I reduce my Contact Form 7 padding before the heading?
2. How can I add more padding after the forms heading? (between heading and the para text on left, and social icons on right)?Many thanks
January 13, 2017 at 8:51 pm #1329483
FriechModeratorThis reply has been marked as private.January 14, 2017 at 8:44 am #1329907
nillamaryParticipantThis reply has been marked as private.January 14, 2017 at 5:39 pm #1330222
RadModeratorHi there,
Please add this CSS to Admin > Appearance > Customizer > Custom > CSS
.page-id-28 .x-header-landmark { display: none; } .page-id-28 .entry-content > h3 { margin-bottom: 30px; }Hope this helps.
January 16, 2017 at 9:04 am #1332070
nillamaryParticipantThank you, that worked. However, for consistency with the same padding throughout my site, can I use one CSS code for Heading 3?
January 16, 2017 at 9:20 am #1332089
ThaiModeratorHi There,
Please update the previous CSS to this:
.page-id-28 .x-header-landmark { display: none; } h3, .h3 { margin-bottom: 30px !important; }Hope it helps 🙂
January 16, 2017 at 9:30 am #1332094
nillamaryParticipantHI, thank you but that didn’t work.
January 16, 2017 at 10:43 am #1332206
JadeModeratorHi there,
Would you mind providing the direct link to the page where the code isn’t working?
Thank you.
January 16, 2017 at 11:01 am #1332238
JoaoModeratorHi There,
I noticed you put a note:
/*heading 3-remove top padding and in contact page*/
So please change:
h3, .h3 { margin-bottom: 30px !important; }Please use:
h3, .h3 { margin-top: 30px !important; }Hope it helps
Joao
January 16, 2017 at 12:26 pm #1332367
nillamaryParticipantSorry, that did work for Heading 3 but pushed it up too high.
January 16, 2017 at 12:43 pm #1332408
nillamaryParticipantThanks Joao. I was given margin-bottom above and as it didn’t work, I’ve already tried margin-top, which isn’t working either as now it’s obscured by the navbar. I’ve tried to increase the px but still not displaying correctly.
January 16, 2017 at 3:47 pm #1332640
FriechModeratorHi There,
I did go ahead and set the Navbar Top Height to 68 on Customizer under the Header panel. This should give your navbar a proper height.
Then added this on your custom CSS, to remove the extra space between the navbar and heading (Contact and Connect)
.x-container>.offset { margin-top: 0; }The small remaining white space is the entry top margin, you can remove that as well with this css.
.entry-content { margin-top: 0; }Now to adjust the heading space below, please add a class mbm or class mbl.
e.g.
<h3 class="mbm mtn" style="text-align: center;">Contact and Connect</h3>mbm = margin bottom medium
mbl = margin bottom largeHope it helps, Cheers!
January 18, 2017 at 9:24 am #1335146
nillamaryParticipantMany thanks for doing that! Looks much better.
I do already have:
<h3 class=”mtn” style=”text-align: center;”>Contact and Connect</h3>
Should I change this to your mbm and mbl above?January 18, 2017 at 9:58 am #1335205
nillamaryParticipantI’ve replaced my H3 with your above and it worked, thank you. I’ve also tried it with my H4 and played with the CSS for H4, but doesn’t display the same spacing. Any thoughts?
January 18, 2017 at 10:42 am #1335249
Nabeel AModeratorHi again,
Try adding the following code in your Customizer:
h4 { margin-bottom: 1em !important; margin-top: 0 !important; }Let us know how this goes!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1329217 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
