How do I add space between H2 subheading and paragraph text?
Thanks
How do I add space between H2 subheading and paragraph text?
Thanks
use gap would likely be the easiest
No coding for CSS?
Hi @twoscotsabroad,
You can use gap or if you want to be universal you can use CSS.
Use this CSS below.
h2, .h2{
margin-below:10px
}
p{
margin-below:10px;
}
Let us know how it goes.
Thanks.
Thank you.
If I change 10 to higher is should create a gap between H2 heading and the paragraph line underneath? It tried 30 and then 100 but saw no change.
Best,
Gemma
Hi Gemma,
Sorry there is a syntax error on the code provided is should be:
h2, .h2{
margin-bottom: 30px;
}
Thanks,
Worked! Cheers!
Youâre welcome.
Hi,
I am trying to achieve something similar.
I have created a new class for styling text:
.t2 {
font-family: âPathway Gothic Oneâ,sans-serif;
font-style: normal;
font-weight: 400;
text-transform: uppercase;
font-size: 1.9em;
color: #cb2228;
}
for some reason Iâm getting huge space between this and the next text box.
I need to reduce the spacing.
I have tried margin and padding css to no effect.
Thanks
Hi @Nate_Sheridan,
Thanks for writing around! Can you please provide the URL of your site so we can take a look at your setup and provide you the solution accordingly?
Thanks!
Thanks for the fast response.
The styling has been applied at the very bottom âcontactâ section to the titles âFind Usâ, âEmail Usâ and âCall Usâ where you will see thereâs quite a big gap between the paragraph text below each title.
Many thanks.
That solved my issue perfectly.
Many thanks!