Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1

TOPIC:

Blank space lines in Bootstraps 1 year 1 month ago #8751

  • Jonathan Smith
  • Jonathan Smith's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 49
  • Thank you received: 13
Hi

A few questions.. How do you...
1. insert blank lines above the first Section Title on a Bootstrap page, so that this Section Title is displayed a little lower on the page
2. reduce the space between a Section Title and the first bit of Text below it
3. insert a blank line between an embedded XOT Project and the next bit of Text in a Section
4. insert a blank line between an embedded XOT Project and the next Section Title.

Answers to any of these questions gratefully accepted!

Please Log in or Create an account to join the conversation.

Blank space lines in Bootstraps 1 year 1 month ago #8757

  • Fay
  • Fay's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 229
  • Thank you received: 92
Hi Jonathan

You will need to add the styles optional property to your project and use CSS to adjust for all of these (changing the margin/padding values to whatever height you want):

1.
section:first-of-type .page-header {
margin-top: 3em;
}

2. Padding will adjust the space below the section title but above the horizontal line and margin will adjust the space below the horizontal line:
.page-header {
padding-bottom: 0;
margin-bottom: 0;
}

3.
iframe {
margin-bottom: 1em;
}

4. The same css as in no. 3 should also do this - it will add some space below the iframe regardless of what appears beneath it
iframe {
margin-bottom: 1em;
}

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ronmjultenJohnSmith
Time to create page: 0.047 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search