I need the accordion title bars to have just a small padding above and below the writing. Also, all the accordions whether they are expanded or collapsed need to be only slightly wider than the maximum content. They all need to be the same width. They don't look correct taking up the whole width to the sidebar.
I visited your site but I couldn't see where this appears to check the styles being applied.
The first part is basic CSS, modifying the padding around the title elements. You should visit the page in question where this is displayed, right click on one of the accordion titles, and inspect it in the browser console. There you will be able to see the styles applied to the titles and the CSS selectors they come from, and you can add custom style rules using the same selectors to override the padding.
The second part, that all of the accordion panels should have the same width as the content of the widest panel isn't possible without writing custom CSS using flexbox for your accordions or custom JavaScript to change the width of the container div of the accordions (which, if you are using Bootstrap accordions has a class of panel-group) after calculating the width of the widest panel.
The first method is preferable as it is CSS-based and doesn't depend on using JavaScript to manipulate the page after it has already been rendered, but effectively involves rolling your own accordion solution.