Style problem

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
montelin
Posts: 18
Joined: 25 Oct 2021, 11:16
Location: Sweden
Contact:

12 Nov 2021, 20:59

Hi,
I have installed all the necessary files, but when I import e.g. blocks, I do not see any style on the block.
Buttons are not a color and no background. Only the text is visible, all the componentes are imported.
Last edited by montelin on 17 Nov 2021, 00:45, edited 1 time in total.
Mats Montelin / :D

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

15 Nov 2021, 10:22

Hi,

Did you add imports like primeflex.css? You can see details in this link; https://www.primefaces.org/primeblocks- ... umentation

Also, you can check your StyleClass import or usage from this link; http://primefaces.org/primeng/showcase/#/styleclass

Best regards,
Merve Özçifçi

montelin
Posts: 18
Joined: 25 Oct 2021, 11:16
Location: Sweden
Contact:

15 Nov 2021, 11:52

Hi,
I installed the files. Also styleClass in app.module.ts

Please look at :

https://bildnet.info/bild.JPG

Please look at the link and explain what StyleClass should be imported. Don't give me links to doc, but give me examples. You don't get any wiser on your documentation. Now I've tried so much that if it doesn't work now, I want a refund.
Mats Montelin / :D

montelin
Posts: 18
Joined: 25 Oct 2021, 11:16
Location: Sweden
Contact:

17 Nov 2021, 14:17

Hi,
I have angular 13, by importing the css files in app.component.css instead I got PrimeBlocks on the page.
The buttons have the color I want, however, I do not get a background color or on the text that is on the blocks. Why?
Mats Montelin / :D

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

08 Apr 2022, 12:34

Hi,

Sorry for the delayed response! Could you please try the latest version?

If the problem persists, please let me know.
Best Regards,

montelin
Posts: 18
Joined: 25 Oct 2021, 11:16
Location: Sweden
Contact:

08 Apr 2022, 12:39

Hi,
I have solved this problem
Mats Montelin / :D

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

08 Apr 2022, 12:59

Glad to hear, thanks a lot for the update!

miguellozac
Posts: 1
Joined: 16 Feb 2023, 23:00

17 Feb 2023, 00:18

Hi I have similar problem with navbar block, I just prchased it & it is not working properly, even when I did as the documentation said, I have installed primeflex & add "@import "primeflex/primeflex.css" to style.scss

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

01 Mar 2023, 12:35

Please create a new post for your case.

Post Reply

Return to “PrimeBlocks for PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest