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

Accordion arrow doesn't display properly. It shows a weird box. #20

Closed
jtalel opened this issue Jul 10, 2019 · 2 comments
Closed

Accordion arrow doesn't display properly. It shows a weird box. #20

jtalel opened this issue Jul 10, 2019 · 2 comments

Comments

@jtalel
Copy link

jtalel commented Jul 10, 2019

Preconditions:
Magento 2.2.8
mageprince/magento2-faq --> Latest commit 070cf02 on 26 Aug 2018
LAMP server

The accordion arrow doesn't work in no web browser (chrome/firefox/ie). Check screencapture: http://prnt.sc/odbl1v

What I did is:

  • opened following file: app/code/Prince/Faq/view/frontend/web/css/faq.css
  • You'll find following lines between lines 171-180:
.ui-accordion .ui-state-default:after {
  content: '\e608';
  font-family: 'luma-icons';
  float: right;
}

.ui-accordion .ui-accordion-header-active:after {
  content: '\e622';
  font-family: 'luma-icons';
}
  • I erased line specifying "content", so it is as follows:
.ui-accordion .ui-state-default:after {
  font-family: 'luma-icons';
  float: right;
}

.ui-accordion .ui-accordion-header-active:after {
  font-family: 'luma-icons';
}

I don't know how to call the arrow that should appear there so I prefer it to display nothing instead of the weird box. Result capture: http://prnt.sc/odbljk

@4j4yk
Copy link

4j4yk commented Aug 6, 2020

@jtalel its possible that in your installation, the font path is not being recognized properly.

@mageprince
Copy link
Owner

Hi @4j4yk @jtalel The issue has been resolved now. Please download latest code from the repository.
Related commit: 06abfdd52ee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants