This topic has 6 replies, 2 voices, and was last updated 9 years by Hiro.

  • Author
  • #46300
     Hiro
    Participant

    Does 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.

    #46417
     Radu
    Moderator

    Hello, 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 solution
    #46422
     Hiro
    Participant
    This reply has been set as private.
    #46437
     Radu
    Moderator

    Sorry 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 solution
    #46441
     Hiro
    Participant
    This reply has been set as private.
    #46447
     Radu
    Moderator

    Try 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
    #46454
     Hiro
    Participant

    Damn dude, you’re awesome! I owe you lunch someday. Thank you.

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Accordion title bar – decreasing the spaces’ is closed to new replies.

Log in with your credentials

Forgot your details?