Menu icon Foundation

My Posts


My Comments

Tom Ta commented on Adrian P's post over 4 years

I'm stuck on this as well.

I modified the attached CSS style but that didn't do anything to the active content's title.
CSS
.accordion {
*zoom: 1;
margin-bottom: 0; }
.accordion:before, .accordion:after {
content: " ";
display: table; }
.accordion:after {
clear: both; }
.accordion dd {
display: block;
margin-bottom: 0 !important; }
.accordion dd.active a {
background: #e7e7e7; }
.accordion dd > a {
background: #C42929;
color: #D7F500;
padding: 1rem;
display: block;
font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
font-size: 1rem; }
.accordion dd > a:hover {
background: #e2e2e2; }
.accordion dd > a:active { /* --- THIS IS WHAT I ADDED --- */
font-weight: bold;
color: #FFF;
font-size: 1.75rem;
background: #6EFF57; }
.accordion .content {
display: none;
padding: 0.9375em; }
.accordion .content.active {
display: block;
background: white; }

Posts Followed

No Content

Following

    No Content

Followers

My Posts

My Comments

You commented on Adrian P's post over 4 years

I'm stuck on this as well.

I modified the attached CSS style but that didn't do anything to the active content's title.
CSS
.accordion {
*zoom: 1;
margin-bottom: 0; }
.accordion:before, .accordion:after {
content: " ";
display: table; }
.accordion:after {
clear: both; }
.accordion dd {
display: block;
margin-bottom: 0 !important; }
.accordion dd.active a {
background: #e7e7e7; }
.accordion dd > a {
background: #C42929;
color: #D7F500;
padding: 1rem;
display: block;
font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
font-size: 1rem; }
.accordion dd > a:hover {
background: #e2e2e2; }
.accordion dd > a:active { /* --- THIS IS WHAT I ADDED --- */
font-weight: bold;
color: #FFF;
font-size: 1.75rem;
background: #6EFF57; }
.accordion .content {
display: none;
padding: 0.9375em; }
.accordion .content.active {
display: block;
background: white; }

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content