Where can I change the text color of an active tab in Fordson v3.5 Release 2?

Re: Where can I change the text color of an active tab in Fordson v3.5 Release 2?

by Chris Kenniburg -
Number of replies: 1
Picture of Particularly helpful Moodlers Picture of Plugin developers

Narit,

The default template for the top navbar wants a white background and dark text.  It is pretty hard to make changes via CSS to this because it is hard-coded in the mustache template.  

I realize most people concerned about an overall look and feel of a website would want to change that and in the next release (Fordson 1.3 for Moodle 3.6) we will remove this hard coded color choices and introduce a set of new variables within the Fordson theme to change the colors of the top navbar: 

// these are for text colors
$navbar-fhs-color:                  $dark !default;
$navbar-fhs-active-color:           $dark !default;              
$navbar-fhs-hover-color:            darken($navbar-fhs-color, 10%) !default;
$navbar-fhs-disabled-color:         $dark !default;

// these are for background colors. 
$topnavbarbg:                       $white !default;
$teachernavbarcolor:                #f3f1a6 !default;
$studentnavbarcolor:                $topnavbarbg !default;
Average of ratings: Useful (1)
In reply to Chris Kenniburg

Re: Where can I change the text color of an active tab in Fordson v3.5 Release 2?

by Ariane Cleverly -

How do I change the color of the hyperlinks?  right now it is gray