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

Styling with CSS #46

Closed
inmtl opened this issue Jan 7, 2021 · 3 comments
Closed

Styling with CSS #46

inmtl opened this issue Jan 7, 2021 · 3 comments

Comments

@inmtl
Copy link

inmtl commented Jan 7, 2021

I just installed the latest 2.07 version and have it configured in admin with a few test categories and faqs. In the frontend the faqs appear but without any css styling. It looks like the css found in app/code/Mageprince/Faq/view/frontend/web/css/source/_module.less is not loaded. I'm running in developer mode and have cleared / cleaned cache repeatedly. Any ideas?
Thanks

@mageprince
Copy link
Owner

Hi, @inmtl thank you for your report. Please run the below commands to compile less files.
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

@inmtl
Copy link
Author

inmtl commented Jan 8, 2021

Thanks for the quick reply. I should have mentioned that I had deployed static content several times but with no visible result on the frontend. However, I was able to get it working by adding a line to reference the css in faq_index_index.xml.
and renaming _module.less to myname.less

Now that it appears to be working as intended I'm wondering if it is possible to use fontawesome icons in place of images for Faq Groups.

Keep up the great work!

@mageprince
Copy link
Owner

Hi @inmtl Unfortunaltely we are unable to find this issue with the latest version of this module. Here is the live example of the module: https://demo2.mageprince.com/faq

Regarding use font awesome icons, you can allow icon file extension in \Mageprince\Faq\Model\ImageUploader::$allowedExtensions to upload icons from the admin.

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

2 participants