Adjust space above and below a horizontal line Home › Forums › Weaver Xtreme Theme › Adjust space above and below a horizontal line This topic has 4 replies, 2 voices, and was last updated 11 years, 4 months ago by canoot65. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts May 8, 2015 at 08:05 UTC #17730 canoot65Participant How can we adjust the space above and below a horizontal line – like on this page: http://www.nordoy.net/kristelege-foreningar/ ? I have tried with this CSS rule: {padding-top: 25px; padding-bottom: 25px;} in the <HR> CSS box, but it doesn’t work. May 8, 2015 at 08:35 UTC #21879 scramblerModerator Try margins {margin-top: 25px; margin-bottom: 25px;} Padding creates space inside the elements, margins create space outside the element May 8, 2015 at 09:27 UTC #21880 canoot65Participant It didn’t work with “margin” either. I even tried to add “!important;”, also with no result. May 8, 2015 at 11:01 UTC - Views: 1 #21881 scramblerModerator I think you made a mistake and did not include the margin within the same brackets as what you already put in the CSS+ box. All the rules in the CSS + box should be inside the same brackets {background-color:#C7C7C7; height:1px;border:none;margin-top: 25px; margin-bottom:25px;} May 8, 2015 at 11:36 UTC #21882 canoot65Participant Yes, you are right; I didn’t know that all the rules needed to be in the same brackets. Now it’s working properly 🙂 Thank you again so much for helping! Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In