Can I change the space in the A area to be like the B area? See my attached pic:
Also, how can I decrease the amount of spacing between lines and paragraphs? There is a lot of whitespace.
Hi,
A code like this will increase the space on the bottom of the top sharing you use (A), to be similar to to the top sharing of the B sharing
– https://www.screencast.com/t/hgxsYaRH
.single .sfsibeforpstwpr {
margin-bottom: 31px!important;
}
The margin bottom between the post paragraphs is fixed and predefined
– https://www.screencast.com/t/6Fg6dBDUwYi9
This margin could be changed with a code like this (that would require modifications to the previous code – the margin values should be 5 + new paragraph margin for exact results)
– https://www.screencast.com/t/r2IaCS1a
.td-post-content p {
margin-bottom: 13px;
}
Thanks
Great. thank you.
What about controling how much space is between lines and paragraphs in general?
Hi,
Then you could modify them all at once with custom code
– https://www.screencast.com/t/Ldi4u1OW
.td-page-content p, .td-post-content p, .wpb_text_column p, .td_block_text_with_title p, .woocommerce #tab-description p, .mce-content-body p {
margin-bottom: 13px;
}
Use the code in either in theme panel custom code, or child theme stylesheet.
Thanks
Thanks. I don’t really know much about CSS. Where am I putting the value for the line spacing between the paragraph? I might want to have a different value for the spacing above and the spacing between paragraphs?
Hi,
Through CSS would be the only way to change this default margin, if this is required. The margin is set only for the bottom of the paragraph. A margin top is not set each paragraph has a margin bottom of 26px by default, I believe WordPress sets a 1.5em default margin.
The code I mention above will change the margin bottom for all paragraphs in post content, page content, composer text elements etc.
Use the value you want in the code, then enter it in Theme panel->Custom CSS, it will remain there until you remove it if needed. Code entered there will not be lost after theme updates.
Thanks