Home>Support>Code is disappearing

Code is disappearing

Hi. My code is disappearing on SiteOrigin Editor Widgets for some reason.
You see them in the text section. When you go to the Visual Section they disappear.
Doesn’t happened all the time. No sure why.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 4 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hi Devin

    Thanks for reaching out.

    Is there a specific snippet of code that this happens with?

  2. 4 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Does the Custom HTML perhaps solve the issue? Thanks.

  3. 4 years, 1 month ago Ox

    Hi.
    I switched the code from the SiteOrigin Editor to the Custom HTML Widget.
    It does not disappear in this widget. Of course it doesn’t have the Visual section on it.
    But it does seem to be the type of code it is.
    For Instance, This code works fine. You can go back & forth no problem:
    Visit Our Other Locations

    However, if you delete that code & put in this code. As soon as you go to Visual it disappears.

  4. 4 years, 1 month ago Ox

    Not sure if I can put code in.
    This one works

    <h2 style="text-align: center;">Visit Our Other Locations</h2>

    This one doesn’t

    <a id="dox_hover_pv" href="https://www.funpuertovallarta.com" class="dox_hover_pv"></a>
  5. 4 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Super, thanks for the info. This sounds similar https://wordpress.org/support/topic/text-editor-removing-a-tag/.

    Would the following impact your design?

    <a id="dox_hover_pv" class="dox_hover_pv" href="https://www.funpuertovallarta.com"> </a>

    If it will, I’m sure we can think of alternative solutions.

  6. 4 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Ahh, my non-breaking space didn’t print. I’m referring to the first idea offered in the forum topic linked to in my previous reply. Thanks :)

  7. 4 years, 1 month ago Ox

    Non-breaking space worked.
    Thanks for the help.

  8. 4 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Super, glad to hear that did the trick :)

    If SiteOrigin questions arise in the future, please, let us know. Cheers for now.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More