Basic Install

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
WallaceSociety
Posts: 2
Joined: 17 Apr 2019, 00:19

17 Apr 2019, 01:33

I just purchased this but am having issues installing it. None of the elements are styled. It seems like the theme stylesheet isn't complete for example the layout-green.css is missing the .ui-inputtext class that styles all my text inputs.

This is what I have done:

Unzipped archive copied everything (except demo) from the barcelona-ng-7.0.0/src/assets folder into my-project/src/assets
Edited my angular.json file with the following:
"styles": [
"node_modules/primeicons/primeicons.css",
"node_modules/primeng/resources/primeng.min.css",
"src/assets/layout/css/layout-green.css",
"src/styles.scss"
],

If I change the layout-green.css line to "node_modules/primeng/resources/themes/nova-light/theme.css" it works, but not with the them I just bought.

Please help!

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

26 Apr 2019, 08:51

Hi,
Layout files are needed for the layout color for example; topbar color. You need to add theme stylesheet file for input and other components. You can see theme files in src/assets/theme/theme-*.scss

Post Reply

Return to “Barcelona - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests