How do we get rid of the gap at the top of a donation part?

Options
Whenever we place a donation part on a page in BBNC, the part is always rendered live with a gap between the first line of text in the donation part, and the bottom of the part immediately above it. Since donation parts have no HTML, how can we make this gap (that has grown since previous versions of BBNC) go away?
Tagged:

Comments

  • Hey Art!



    Can you give a link to the page so we can see it in view mode?



    Thanks!


    Karen
  • HI, Karen - thank you for the quick follow-up. The page in question is https://netcommunity.pancan.org/ar, but all of our pages with a donation part have that gap.



    Art
  • When I look at this using FireBug I see a lot of padding in the stylesheet for this. This is the cause of the issue. Please review this and decide if it needs to be removed, then edit the stylesheet appropriately.







    Thank you!


    karen
  • Thank you for finding that. Related question: what is the "Donation Message"? I don't see anything I can edit, with that title, in the donation part. Why would an item be configurable in the CSS, but not in the editor?
  • It's in your stylesheet. It's not actually in the part. Normally things like error messages would go there.



    Thank you!


    Karen
  • Thank you very, very much for your help! I changed the value to 2 px for top and bottom, and I still see the error messages without any issues. I hope the default value gets changed from 20px in a future release, and that this solution gets added to the knowledgebase
  • Hey Art!



    Just to clarify. It's not a default ;) In my sample this is 0px.



    Thanks!


    Karen
  • We've had that gap ever since I created my first donation page, five years ago. We never touched that CSS value. For all of our custom CSS stylesheets, that do have BBMEssage, the values are:



    .BBMessage


    {


    padding-top:20px;


    padding-bottom:8px;



    The default CSS might have it set at 0, but all of the custom ones (the ones that started with early version of BBNC) are set at 20/8.

Categories