test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • erixis Friend
    #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
    Eric

    Ninja Lead Moderator
    #944733

    Hi,

    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

    erixis Friend
    #944876

    Thanks 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 Moderator
    #945336

    If 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');
    }

    1. Screen-Shot-2016-06-29-at-14.45.16
    erixis Friend
    #945439

    Thanks 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 Moderator
    #945630

    If you could not see the custom.css file under templates/ja_simpli/css/ folder, you can create a new file.

Viewing 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