What is the recommended way to resize the height of the topbar in ultima-ng?
Changing height from layout-indigo.css (.layout-container .topbar) seems that is not enough..
Topbar height
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Can you give me your code?
I tried ;
in src/styles.scss
and it's work
I tried ;
in src/styles.scss
Code: Select all
.layout-container .topbar {
height: 100px;
}
-
- Posts: 28
- Joined: 03 Aug 2011, 15:53
Let me ask this in another way:
If I want to change the theme, like I'm doing now (the top menu height is too big to me),
how can I change the theme to keep retro compatibility with ultima-ng in a case of update?
If I want to change the theme, like I'm doing now (the top menu height is too big to me),
how can I change the theme to keep retro compatibility with ultima-ng in a case of update?
RTFM
https://www.primefaces.org/ultima-ng/#/documentation
"Theme" part
https://www.primefaces.org/ultima-ng/#/documentation
"Theme" part
A custom theme can be developed by the following steps.
Choose a custom theme name such as theme-myown.
Create a file named theme-myown.scss under assets/theme folder.
Define the variables listed below and import the /sass/theme/_theme.scss file.
Build the scss to generate css
Include the generated theme.css to your page.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Angular Cli creates an SCSS file named styles.scss. You can add @merve7's fix into it. When you update Ultima Layout, it'll not be affected.
Regards,
Regards,
Github Profile: https://github.com/mertsincan
-
- Posts: 28
- Joined: 03 Aug 2011, 15:53
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
You're welcome!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests