Questions tagged [custom-theme]
92 questions
8
votes
0 answers
Angular material 2 change font size
I have added my custom theme file and I want to reduce font size through out the site. I don't know how change font size through custom theme as there's no proper documentation for this.
@import '~@angular/material/theming';
// Plus imports for…

Ali Shahzad
- 5,163
- 7
- 36
- 64
6
votes
2 answers
Keycloak - How to add Back to app link on login page
I would like to know how to add a Back to App link on the keycloak login page.
I'm using a react front end, and when i use the method keycloak.login() i'm going to my keycloak server. And here i want to add the possibility to go back to my app on…

Arthur Dumoulin
- 61
- 1
- 2
5
votes
0 answers
Angular Material 2 custom theme change body background color
I have created my custom theme in Angular Material 2 and now I want to change the default body background color using my custom theme. What I think is that it can be changed/overridden by using this map object in theming.scss…

Ali Shahzad
- 5,163
- 7
- 36
- 64
4
votes
2 answers
Keycloak FTL: how can we access error messages within the login template on a custom theme
So I'm using keycloak as an authentication mechanism and customizing the login page by modifying the login.ftl file. So far so good. I'm importing the template.ftl file in my login.ftl - as instructed by keycloak's docs - so far so good. Within…

ChrisPalmer
- 285
- 4
- 15
3
votes
1 answer
angular material bug: upgrade to 15, then angular custom theme compile error : SassError: Undefined mixin
angular material 15 looking for @include theme.validate-theme-styles($light-theme, $theme); however, validate-theme-styles is indeed not defined.
I just updated angular and angular material to 15, the custom theme is now throwing build errors. it…

Tao Feng
- 101
- 1
- 5
3
votes
2 answers
WordPress Redirect from Custom Template
I need to redirect a custom template page to Homepage when a querystring key has an empty value.
for ex: https://example.com/customtemplatepage/?value=1
the Customtemplatepage is a page set with a custom template customtemplate.php in the root of…

ssstofff
- 638
- 1
- 10
- 19
2
votes
0 answers
Keycloak FTL: How to access template variable that a session has ended or a user logged out within login template on a custom theme
I'm using Keycloak as an authentication for a React app and customizing the login page by modifying the login.ftl file. I'm importing the template.ftl file in my login.ftl, according to Keycloak's docs, and everything works fine. Inside the…

KenNguyen
- 21
- 2
2
votes
3 answers
How to include React js file in an ftl file in keycloak?
I am trying to modify the Login page of Keycloak theme with a custom theme. I need to reuse the home page design (home.js) which is designed using react and {Component}'.
Is there any possible way to import this js file or any other react component…

SMash
- 345
- 2
- 7
- 23
2
votes
1 answer
Wordpress Custom Logo sizing
I am trying to generate a logo in my Wordpress custom theme. I can get it to show up but I cannot get it to resize. In addition to what I have now, I have also tried the "add_image_size()" function but it did not work either. The code I currently…

Mai
- 23
- 4
2
votes
2 answers
Custom themes with Angular 4
I am having trouble with Angular4, @angular/cli and custom themes in Material. I have searched many times for tuts and read and reread the docs, but nothing works. I'm afraid this seems to be something a few people have asked, but the answers to…

Davtho1983
- 3,827
- 8
- 54
- 105
2
votes
2 answers
Wordpress retrieve customizer settings
I'm currently working on my first in-depth custom template for Wordpress, utilizing the functionality of the customizer.
I am able to create options and also save them but somehow i am unable to push them to the page itself. The code i'm using:
//Do…

SliQz
- 41
- 1
- 3
2
votes
1 answer
Should i customize existing magento CSS or i should include bootstrap and use that instead
I am planning to customize magento design from scratch, for that i have investigated and found many solutions, some with bootstrap and some without bootstrap. I just wanted to confirm what is the best practice for this, should i invest my time…

Soeb Safi
- 341
- 3
- 17
2
votes
0 answers
How to apply custom theme on android document provider?
I am opening builtin image provider in android and its opening correctly.
Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
// Filter to only show results that can be "opened", such as a
// file (as opposed to a list of contacts or…

Azim Ansari
- 1,378
- 11
- 20
1
vote
1 answer
Wordpress upload post and attach file (wp_insert_post and wp_insert_attachment)
My current Custom Wordpress theme doesn't allow me to attach an image / .pdf by

AndradeL
- 64
- 7
1
vote
1 answer
enable Open edX custom theme bitnami
I am trying to customize the default UI of open edX. But I am not getting far enough. I am new to this. I am getting confused reading the docs. In the documentation it is telling me to place my theme in the '/opt/bitnami/edx/var/themes/edx-platform'…

Md. Sifat Ibn Awlad
- 21
- 3