-
Author
-
February 16, 2015 at 21:28 #46300
Hiro
ParticipantDoes anyone know the CSS code to decrease the spaces between the accordion title bars? I removed the border color so the horizontal lines don’t show up between the title bars, but the space between the title bars appear too big. I’d like to keep the font size the way it is, just want to decrease the spacing between the title bars.
February 17, 2015 at 17:06 #46417Radu
ModeratorHello, try this code
COPY CODE.panel-body { padding-top: 0px !important; }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 17, 2015 at 17:13 #46422Hiro
ParticipantHi Radu,
That didn’t work. Here’s a link to one of my pages so you can see the large distance between the tab headers.
February 17, 2015 at 17:57 #46437Radu
ModeratorSorry but i don’t understand exactly to what are you referring to.
Please post a screenshot pointing out exactly your issue.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 17, 2015 at 18:10 #46441Hiro
ParticipantI’ve attached a screenshot. The red arrows show the large spacing. I set the border color to clear so the horizontal dividers don’t show. What I want to do now is decrease the spacing between the accordion headers so there’s not such a large gap between the heading titles.
February 17, 2015 at 18:15 #46447Radu
ModeratorTry this.
COPY CODE.panel-group .panel-heading, .panel-toggle .panel-heading { padding: 1px 10px !important; }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The topic ‘Accordion title bar – decreasing the spaces’ is closed to new replies.