Questions tagged [custom-theme]
92 questions
1
vote
1 answer
Cannot set property 'onclick' of null in my function js
I have a problem. I used javascript for settings display block or display none. I get an error in the console "Uncaught TypeError: Cannot set property 'onclick' of null
at script.js?ver=1.0.0:15". I added a script tag in the header, then in the…

gsskrzysztof
- 31
- 4
1
vote
1 answer
Set user role after paying monthly subscription on Memberpres
I'm building a website where users pay a monthly subscription to access different courses. I've got Memberpress setup to handle user registration and the monthly subscription.
When the user selects a course, I call a function the set the user role.…

Denis
- 11
- 1
1
vote
1 answer
After Move http to https of wordpress thrid party API's not working
I have implemented the sigle signon in worpress with Java with Aws cognito.
it is working fine with http but after moving http to https. API's are not working and throwing the error below:
WP_Error Object
(
[errors] => Array
(
…

Pramod Kharade
- 2,005
- 1
- 22
- 41
1
vote
0 answers
File input added with register_setting in Wordpress won't upload file
I have created a custom options page for my Wordpress theme and I need to add a file input field through which a MP4 video can be uploaded (~15Mb). Problem is the $_FILES variable is always empty.
/**
* Custom theme form
*/
function…

bMain
- 324
- 3
- 11
1
vote
1 answer
theme_settings.php Drupal default settings
I'm trying to do a theme-settings.php, and I have it as far as I can tell exactly the same as everything I have ever seen on any page tutorial about this. But some reason it's not working, which means I'm missing something.
thinkrium.info
name =…

thomedy
- 93
- 11
1
vote
0 answers
Angular 4, dotnetcore, webpack can't resolve custom font in custom theme
I am tying to integrate a custom theme into an angular4/aspdotnetcore application.
The template for the spa I use can be found here (https://github.com/asadsahi/AspNetCoreSpa)
I included my custom theme files in the wwwroot/assets folder and added…

Bumblebee
- 21
- 1
1
vote
0 answers
How to define contrast colors in extending a palette in Angular Material theme
Angular Material Documentation for theming states the following to extend an existing palette for custom theming-
var neonRedMap = $mdThemingProvider.extendPalette('red', {
'500': '#ff0000',
'contrastDefaultColor': 'dark'
});
In this, if…

shiv_saz
- 65
- 6
1
vote
1 answer
Custom Tumblr theme not working on different blog?
My HTML/CSS/Javascript knowledge is really limited so i apologize if this question doesn't belong here.
I'm trying to make two portfolio pages on tumblr (one in spanish the other in english) So I used the custom theme: hasaportfolio and made some…

Cesar
- 13
- 1
- 4
1
vote
1 answer
Textview background color got changed after adding custom theme to android app
My app interface originally looked like this. "my name" is a TextView and "my button" is a button which has an image as the background. Minimum sdk is 16.
I changed the action bar color of the app by adding a custom theme. I used the code…

Lak
- 381
- 1
- 5
- 23
1
vote
0 answers
How to use a themeForest theme with MeteorJs
I have a theme bought at theme Forest, and would love to use it in my new meteors project.Can someone kindly walk me through how one canimplement and use it in a project.Thanks

Edward Okech
- 151
- 3
- 9
1
vote
1 answer
Anti-Clickjacking Code Causes Page to Continually Refresh
I have a Wordpress site and I have following code designed to prevent clickjacking: