• Resolved stunley

    (@stunley)


    Is there any way to change the style of the visitor lockout message? I need to change the font size and line height; at the moment the text is too big and any more than 3 words starts a new line and the text overlaps. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, are you referring to the message that shows up when you enable the following feature Enable Login Lockdown Feature: under User Login -> Login Lockdown. Is the error message the following one.

    ERROR: Login failed because your IP address has been blocked. Please contact the administrator.

    Thread Starter stunley

    (@stunley)

    Hi. No, I was referring to Maintenance > Visitor Lockout (large yellow text on dark grey).

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for the extra information ?? Now I know what you are talking about. You can add any text, links and HTML you want in that field. That means you can fully control the size and color of the text.

    Kind regards

    Plugin Contributor wpsolutions

    (@wpsolutions)

    You can add some custom CSS code via a plugin or some other way to control the various properties of that text.

    Example:

    
    .aiowps-site-lockout-msg {
        color: #FFF;
        font-size: 38px;
    }
    
    .aiowps-site-lockout-box {
        border: 2px solid #FFF;
    }
    

    The above code will reduce the font-size to 38 and changes the colour of the text and border from yellow to white.

    • This reply was modified 8 years, 2 months ago by wpsolutions.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Vistor lockout text too big’ is closed to new replies.