Function.PHP/mu-plugin code for Widget border.

Hi.

Is there a piece of generic code that could be placed in a theme, or preferaby in an mu-plugin, that could place a border around all displayed side-bar widgets (for a simple/basic theme).

Picture attached!

Thanks in advance.

johnv

  • john
    • Site Builder, Child of Zeus

    Hi Calvin.

    Hope you well too?

    Good point, which helps me clarify my thoughts on what I am trying to ask you! Thanks!!

    I need my users to have full admin access, but I want to limit it to them being able to make use of the Page Builder facility only (lots of bugs between visual/text/page builder and my theme) for lots of design reasons.

    So disabling visual & text editors from all but Super Admin ( a condition that seems necessary) is what I have in mind?

    Hope that this, and the attachments make it a little clearer?

    Thanking you in advance.

    Regards

    johnv

  • john
    • Site Builder, Child of Zeus

    Hi.

    The ‘Theme’ you visited is one of two that the site uses, the other does not have the borders. So my desire is to mirror the border of ‘Theme one’ onto ‘Theme two’.

    I think the code may be in the following:-

    input[type=”submit”] {

    border: 2px solid #008fcc;

    border-color: #008fcc #008fcc #00354c #008fcc;

    -webkit-border-radius: 3px;

    -moz-border-radius: 3px;

    border-radius: 3px;

    background-color: #00628c;

    color: #fff;

    Regards

    johnv

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.