Jump to content

"return To Portal" And "log In" Buttons Using Incorrect Text Colors


Alk

Recommended Posts

It becomes apparent when you create a custom theme with stark colours to differentiate between "Navigation Text Color" and "Navigation Text Active Color" that the "Return to portal" and "Log in" buttons are back to front in their colours. 

 

To illustrate, I create a theme with these colours for the Navigation text:

post-78-0-44601100-1399133754_thumb.png

 

It appears like this:

post-78-0-44828500-1399133756_thumb.png

 

As you can see, the "Return to portal" and "Log in" buttons are using the "Navigation Text Active Color" even though they are not active (in contrast, the bar underneath is behaving correctly).

 

When looking in the CSS (app\views\client\default\css\theme.css), if you look carefully it is apparent that it is back to front in the code. As it stands, this is how the code is:

 

.login_sec .button a { color:#theme_navigation_text_active_color;}
.login_sec .button a:hover { color:#theme_navigation_text_color;}

 

However, it should be:

 

.login_sec .button a { color:#theme_navigation_text_color;}
.login_sec .button a:hover { color:#theme_navigation_text_active_color;}  

 

With the css corrected, the "Return to portal" and "Log in" then use the correct colours:

post-78-0-48251000-1399133755_thumb.png

 

post-78-0-44601100-1399133754_thumb.png

post-78-0-48251000-1399133755_thumb.png

post-78-0-44828500-1399133756_thumb.png

Link to comment
Share on other sites

  • 3 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...