FAQ accordion in Bokeh

  • Hazzo
    Inactive member
  • Topic Author
  • Member
  • Member
More
2 years 4 months ago #49401 by Hazzo
FAQ accordion in Bokeh was created by Hazzo
Hi, is it possible to add the FAQ accordion style (like in template Architect) to the Bokeh template?

Brgds

Hans

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
2 years 4 months ago #49402 by milos
Replied by milos on topic FAQ accordion in Bokeh
Hello,

The Bokeh is an older template, but if you copy the HTML source of the FAQ page from Architecture to Bokeh and copy the FAQ part of the custom CSS from the Architecture to Bokeh, it should work at least on Joomla 4. Also, maybe it would be easier for you to find a FAQ extension on Joomla Extensions Directory and install it.

Best regards,
Milos

Please Log in to join the conversation.

  • Hazzo
    Inactive member
  • Topic Author
  • Member
  • Member
More
2 years 4 months ago #49407 by Hazzo
Replied by Hazzo on topic FAQ accordion in Bokeh
Thx a lot.
Any chance you could provide the html and css? I unfortunately don't have the Architecture installed anywhere just now. If not, I'll install it and get it from there.

Brgds

Hans

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
2 years 4 months ago #49408 by milos
Replied by milos on topic FAQ accordion in Bokeh
Hello,

This is the HTML code for a single OPEN tab of the FAQ page of the Architecture template:
Code:
<div class="accordion-group"> <div class="accordion-heading"> <strong><a href="#faq1" data-toggle="collapse" class="accordion-toggle">Anim pariatur cliche reprehenderit?</a></strong> </div> <div class="accordion-body collapse in" id="faq1"> <div class="accordion-inner"> <p>Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch etc.</p> </div> </div> </div>

This is a code of a CLOSED tab:
Code:
<div class="accordion-group"> <div class="accordion-heading"> <strong><a href="#faq2" data-toggle="collapse" class="accordion-toggle collapsed">Ut wisi enim ad minim veniam?</a></strong> </div> <div class="accordion-body collapse" id="faq2"> <div class="accordion-inner"> <p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p> </div> </div> </div>

This is the CSS code:
Code:
/* faq page */ .accordion.faq { margin: 50px 0 30px; } .accordion.faq .accordion-heading { font-size: 18px; padding: 0 15px; } .accordion.faq .accordion-heading::before { content: "\f059"; font-family: "Font Awesome 5 Free"; font-weight:700; display: block; float: left; line-height: 40px; margin: 0 15px; color: #999; } .accordion-group:hover .accordion-heading::before { color: #333; } .accordion.faq .accordion-inner { padding: 30px 30px 30px 90px; }

Regards,
Milos

Please Log in to join the conversation.

  • Hazzo
    Inactive member
  • Topic Author
  • Member
  • Member
More
2 years 4 months ago #49443 by Hazzo
Replied by Hazzo on topic FAQ accordion in Bokeh
Thx

Please Log in to join the conversation.

Time to create page: 0.162 seconds
Powered by Kunena Forum