Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: CDE - external CSS file being overwritten by Pentaho component CSS

  1. #1
    Join Date
    Jun 2017
    Posts
    1

    Post CDE - external CSS file being overwritten by Pentaho component CSS

    Hello,

    I am a new user to the Pentaho Platform and I am growing to love it - mainly using CDE.

    I have an issue with using an external CSS file. I want to style the Pentaho components to match the rest of the site I will be embedding the dashboards into. However, the component CSS files (button component for example) overwrites my own CSS classes. I've looked into the code that is rendered out and it looks as though requireJS loads my CSS first, and then the component CSS file after, obviously overwriting it.

    I have found a work around, which is to use the code snippet option for CSS files instead of external file as it loads the CSS in script tags. But obviously that isn't ideal for code reuse.

    What step/s have I missed in getting my CSS file to work?

    Thanks for your time,
    Hugh

  2. #2
    Join Date
    Jul 2007
    Posts
    2,498

    Default

    Order is irrelevant. Just make sure you specify a stronger CSS rule than the component has
    Pedro Alves
    Meet us on ##pentaho, a FreeNode irc channel

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.