Your address will show here +12 34 56 78

This topic contains 4 replies, has 3 voices, and was last updated by  mitchoo 2 years, 11 months ago.

  • Author
    Posts
  • #71215

    SamAnna

    Dear Anna,

    How to initially get the property details accordion in the single property page to open the first accordion by default and close the rest?

    Hello,

    You need to edit single-property.php and there are 3 accordions marked by this code

    for the title – in the h4 tag add the class carusel_closed

    for this < a href="#collapseThree" >

    add the class collapsed

    This should be enough to get those accordions closed.
    Good luck

    • This topic was modified 2 years, 2 months ago by  Anna.
  • #74089

    crerem

    Hello,
    You need to edit single-property.php and there are 3 accordions marked by this code

    <div class=”panel-group property-panel” id=”accordion_prop_details”>
    <div class=”panel panel-default”>
    <div class=”panel-heading”>

    for the title – in the h4 tag add the class carusel_closed

    for this < a href="#collapseThree" >

    add the class collapsed

    This should be enough to get those accordions closed.
    Good luck

    • This reply was modified 3 years, 1 month ago by  Anna.
  • #74110

    Sam

    thank you sir, for this ( where to add the class collapsed?)

  • #74696

    Anna
    Keymaster

    Hi Sam,

    When you post code some things are formatted.

    It’s href=”#collapseThree

    See above.

    Thanks
    Anna

  • #100613

    mitchoo
    Participant

    WP Residence V 1.06. I tried this, didn’t work. What worked for me is changing “in” into “out” for the to be closed panel. The location panel is no 2.
    Open: <div id=”collapseTwo” class=”panel-collapse collapse in”>
    Closed: <div id=”collapseTwo” class=”panel-collapse collapse out”>

You must be logged in to reply to this topic.