Tagged: x
-
AuthorPosts
-
April 27, 2016 at 9:15 am #902228
core365ParticipantHi, I’m working on a site and can’t figure out how to get rid of the large gaps after each line return in the text. I’ve tried setting margins and padding to 0 and changing the CSS, but the large gaps are still there!
I’ve attached a screen grab for you to see the gaps I’m referring to and here’s a link to the web page:
http://stpeterscentre.org.uk/terms-conditions/
Thanks!
April 27, 2016 at 10:31 am #902408
core365ParticipantI’ve resized the jpeg!
Cheers
April 27, 2016 at 2:39 pm #902901
JoaoModeratorHi There.
Try adding class: man to your element.
You can do that on your cornerstone at the bottom of the text element when scrolling. ( you can see what i mean on the attched file, just add the class man instead of the one in the pic)
or if you prefer you can set up like this:
<p class="man" style="padding-bottom: 2%">I added a padding-bottom in case you find the lines will be to close, you can adjust according to your wishes or delete it.
Hope that helps,
Joao
April 28, 2016 at 8:24 am #904067
core365ParticipantHi, thanks for that, but unfortunately neither worked. I don’t know if it makes a difference but it’s one whole block of text, it isn’t made up from separate text boxes – it’s one text box with all the text in there. It’s the paragraph spacing that’s too much and the class man and the other code didn’t work.
Cheers
April 28, 2016 at 9:01 pm #905045
Rue NelModeratorHello There,
Sorry if it didn’t work out for you. To resolve this issue, please edit your page in Cornerstone and insert the following custom css in the settings tab, Settings > Custom CSS
.x-text p { margin-bottom: 10px; }You can adjust the spaces by increasing or decreasing the number of pixels in the given code.
April 29, 2016 at 3:17 am #905310
core365ParticipantThat did the trick! Thanks for that.
Do you know why the spacing between paragraph text and all other elements is that big a gap? It would be really handy if there was an area in the Customizer to set these globally because at the minute I’m having to do it page by page which is nothing major, but all that time adds up and would be much easier to do it all from the one area!
Cheers
April 29, 2016 at 5:13 pm #906238
JadeModeratorHi there,
The large gaps between paragraphs came from the default CSS for the bottom margin of the p elements.
It is set to 2.15em which depends on the size of your text.
Hope this explains it.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-902228 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
