• Resolved peopleinside

    (@peopleinside)


    Hi, I hope you are well.
    Thank you for this nice plugin!

    Recently a new update seems introduced the background in the switch label visible when surfing the website and when disconnected temporarily. I don’t like this edit because create a overlay issue with my website buttons present in this position.

    Seems this new background are set by Javascript as I’m unable to remove using a CSS.

    Could I ask if there is anyway I can fix this? I looked for the plugin settings to see if I have some option to decide the position and the background color but I cannot find the plugin settings.

    Would be better maybe set the background by CSS so this can be override if it is not good for all, as in my case.

    A nice idea will be also put a small x near the label to let admin close the message in the case disturb the page or the surfing. Switch will be always possibile using the login page where a banner help to switch.

    With CSS I was able just to move the label to be not over the buttons.
    Just the new update create the issue for me and then I put and additional CSS to move the label as now is disturbing… but I cannot remove the background color. Sometime I would like to have a X to close this label ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    I had to implement those colours for the link because in several themes it wasn’t readable.

    The styles are applied in CSS, it’s just that the styles are inline so you need a high specificity to override them. Here is an example:

    #user_switching_switch_on a {
    color: #fff !important;
    background: #f00 !important;
    }

    Let me know if that helps!

    Thread Starter peopleinside

    (@peopleinside)

    It works thanks, so I can apply a custom background maybe blue and transparent.
    Will be nice if near the label can be added a X to close the label ?? will be useful sometimes.

    Thank again for the help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.