Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panel Heading - Centering text #1

Open
lloyd966 opened this issue Feb 24, 2022 · 0 comments
Open

Panel Heading - Centering text #1

lloyd966 opened this issue Feb 24, 2022 · 0 comments

Comments

@lloyd966
Copy link

First of all thank you for this great and easy to use extension.

I want to center the Panel Heading text. There does not seem to be away to do this using any of the available properties.

Would it be possible to add another prosperity and name it options (ie: public $options=[];) and incorporate it into to line 37

  - echo Html::tag('div', $this->title, ['class'=>'panel-heading']);

to get it to work for now I modified line 37 as follows:

   - echo Html::tag('div', $this->title, ['class'=>'panel-heading text-center']);

I would be great if you were able to set the option when including the widget in my code.

Thank you

Lloyd

@lloyd966 lloyd966 changed the title Centering text - Panel Heading Panel Heading - Centering text Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant