Overwriting Ultima css styles

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
sk77
Posts: 62
Joined: 18 Sep 2016, 18:30

25 Aug 2017, 19:59

Hello

I am trying to overwrite Ultima themes styles in my Angular application css files..

:host /deep/ body .ui-inputtext {
background: transparent;
border-width: 1px 1px 1px 1px;
}

but it is not working.. any insights on how I can overwrite Ultima themes? I do not want to hard code the styles in html file

Thanks
SK

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

12 Sep 2017, 15:39

You can try this ;

your_component_name.css
.ui-inputtext {
background: transparent;
border-width: 1px 1px 1px 1px;
}

your_component_name.ts
@Component({
templateUrl: './your_component_name.html',
styleUrls: [ './your_component_name.css' ]
}

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests