Menu icon Foundation
Accordion Title - Font Size

Hello!

I'm attempting to change the font size for the Accordion Title.

Currently, I am creating an entry in a scss file :

.accordion-title {
    font-size: 1rem !important;
}

I had to use the !important tag because otherwise it was overwritten by the default accordion styling.

Is that the only way to accomplish this? I didn't see any entries in the _settings.scss file and searching through the project, the only entries are in the main foundation files.

accordiontitleFont

Hello!

I'm attempting to change the font size for the Accordion Title.

Currently, I am creating an entry in a scss file :

.accordion-title {
    font-size: 1rem !important;
}

I had to use the !important tag because otherwise it was overwritten by the default accordion styling.

Is that the only way to accomplish this? I didn't see any entries in the _settings.scss file and searching through the project, the only entries are in the main foundation files.

Sobia Waqar over 1 year ago

I applied same code into my ERP Software in Pakistan Website and its work fine for me, as far as i know there is not any other option for accordion