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

Custom theme CSS file doesn't effect the styles #359

Open
77media-creations opened this issue May 31, 2024 · 1 comment
Open

Custom theme CSS file doesn't effect the styles #359

77media-creations opened this issue May 31, 2024 · 1 comment

Comments

@77media-creations
Copy link

Describe the bug
I tried to make some changes to the css and followed the guide in the docs to create a custom theme and add styles to the theme.css file in the generated theme directory.

But the add styles in the theme.css seems to be ignored or just don't have any effect on the page styles at all.

To Reproduce
Steps to reproduce the behavior:

      .documentation {
          background-color: red !important;
      }
  • Clear application and browser cache
  • Visit the site and there is no style effect on the page. The background colour is not red.

Expected behavior
Changes to theme.css file should work as expected.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@phpdevop
Copy link

I had the same issue, but found that under the vendor, there is a new folder for your theme that is being used for the css. If you go to /vendor/NAME/THEME-NAME/resources/css/theme.css and edit that it will change the site. But the css that was created in /larecipe-components/THEME-NAME/resources/css/theme.css doesn't get used.

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