Menu icon Foundation
Pretext on Foundation Class Elements

Hello Is it possible to add the same text to the start of all of foundations elements classes?

So for example the top-bar class I would like to become fz-top-bar and the class button would become fz-button and the row and large-4 classes would become fz-row and fz-large-4 etc etc

Thanks for your help.

 

Regards

 

classpretext on namenaming convention

Hello Is it possible to add the same text to the start of all of foundations elements classes?

So for example the top-bar class I would like to become fz-top-bar and the class button would become fz-button and the row and large-4 classes would become fz-row and fz-large-4 etc etc

Thanks for your help.

 

Regards

 

Rafi Benkual over 2 years ago

Hi David

You can use the mixins to do this. Typically we us zf

.zf-row {
  @include xy-grid(horizontal, true);
}

David Heath over 2 years ago

Thank you for your answer.

This follow up question maybe really stupid, but would I have to do that for every class name or can it be done for all of them automatically?


Thank you for your help.


Regards