-
AuthorPosts
-
June 24, 2016 at 6:33 pm #943973
I’m looking for the setting to change the default color of the button on the log in module. It is currently blue (#2E93D7) but I don’t have this hex color set anywhere in the theme customizer.
I’m sure I can figure out an override, but wanted to make sure I’m not missing a simpler solution to this.
Thanks
EricNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 28, 2016 at 6:57 am #944733Hi,
It does not define from theme setting on your site but you can redefine it from templates/ja_simpli/css/custom.css file with the CSS style
.btn-primary { background-color: #2e93d7 !important; }
and change that background-color above if you want
Regards
June 28, 2016 at 12:02 pm #944876Thanks for the response and advice.
In my css folder (templates/ja_simpli/css/) there is a file named custom-styles.tpl.css, but no custom.css file.
Should I create a custom.css file with the designation for the button background that you suggested or add it to the custom-styles.tpl.css file?
That file currently does not contain a .btn-primary declaration.
Thanks
Eric
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 29, 2016 at 7:47 am #945336If templates/ja_simpli/css/custom.css file does not exist, you can use this way
-
Open templates/ja_simpli/index.php file
- Add the script
// CUSTOM CSS if (is_file(__DIR__ . '/css/custom.css')) { $this->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/custom.css'); }
June 29, 2016 at 11:58 am #945439Thanks again. Actually, my index.php file contains that script, on line 69 just as your example has. I wonder why the custom.css file is not already there?
I checked my package of Simpli that I installed and it does contain the custom.css file, so it must not have gotten copied over when I installed it.
I’ll add it to the folder and modify it as you’ve suggested.
Thanks.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 30, 2016 at 2:54 am #945630If you could not see the custom.css file under templates/ja_simpli/css/ folder, you can create a new file.
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 5 replies, has 2 voices, and was last updated by Ninja Lead 8 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Button color
Viewing 6 posts - 1 through 6 (of 6 total)