• Resolved JohnDT

    (@johndt)


    I will be using short code for a Christmas message on my site but, there is an annoying box around the content when it is live, also when the time has expired there is an empty box. Is there a way I can get rid of the box please?

    I will be using this:
    [time-restrict on=”2017-12-19″ off=”2017-12-31″]
    Wishing you all a peaceful holiday
    [/time-restrict]

    Thanks for any help.

    • This topic was modified 7 years, 4 months ago by JohnDT.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    when you have a linkable site, please give us the link. Until then, it’s just CSS.

    Learn to use the Chrome Developer Tools to help you see and test changes to your CSS.

    Thread Starter JohnDT

    (@johndt)

    Thanks Steve,
    I will have a look at the CSS.

    Thread Starter JohnDT

    (@johndt)

    I have had a look and found the below in my child theme CSS. If I edit this will it not screw up any thing else that uses it?

    pre {
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 24px;
    max-width: 100%;
    overflow: auto;
    padding: 12px;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    That probably has nothing to do with the shortcode in question.

    Thread Starter JohnDT

    (@johndt)

    OK so, I have put a message on my live site and, all seems to be ok.

    It will be showing up to Dec 16th.

    Don’t quite know what happened in wamp server.

    thanks for your help Steve.

    https://www.eastbournefhs.org.uk

    • This reply was modified 7 years, 4 months ago by JohnDT.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Annoying box around shortcode’ is closed to new replies.