Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: InternetSvet on January 21, 2012, 08:52:16 AM

Title: "Only registered members are allowed to access this section" - Color
Post by: InternetSvet on January 21, 2012, 08:52:16 AM
I wanna change the color of this text, when guest visit my forum...

"Only registered members are allowed to access this section
Please login below or register an account".

Because the word "register" is the same color with my theme, and it is invisible. How to change that?

Regards!
Title: Re: "Only registered members are allowed to access this section" - Color
Post by: Oldiesmann on January 21, 2012, 12:32:05 PM
That's just a standard link - no specific CSS class is applied to it.

There are three ways you can fix the issue:
1. Edit Themes/default/Login.template.php to apply specific styling to that particular link (look for "register_an_account")
2. Edit index.css and either change the background color of that box (look for ".information") or add a specific style for links in that box (add a ".information a" section and specify a color there).
Title: Re: "Only registered members are allowed to access this section" - Color
Post by: InternetSvet on January 22, 2012, 05:30:25 AM
Thank you very much... It's work!
Title: Re: "Only registered members are allowed to access this section" - Color
Post by: SimpleGost on March 10, 2012, 02:55:40 PM
Correction, "It works" ...