Answer the question
In order to leave comments, you need to log in
Swap modal close button with content in modal header?
There is such a modal call
<? Modal::begin([
'toggleButton' => ['label' => Yii::t("frontend", "Ask a question"), 'tag' => 'a', 'class' => 'question'] ,
'header' => '' .Yii::t("frontend", "Ask a question") .'',
'closeButton' => [
'label' => '',
'tag' => 'button',
'class' => 'close'
],
]); ?>
How to swap elements inside .modal-header?
To go not < button > => < h5 >, but < h5 > => < button >
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question