This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Html disappearing in visual editor after saving the page

11 years ago · Last reply by Andrew Misplon 11 years ago

Hello, I am trying to edit the home page under appearance -> home page. I created a css class for a button and added it to the custom CSS under appearance -> Custom CSS and when I add the html markup in the text editor of the page inside the visual editor field and save the page the html code disappears and that portion of the button doesn’t work. is there a way to make it stay? below is the css and the html code i am using

css

.circle {
  display:block;
  text-decoration:none;
  border-radius:100%;
  background:#12809b;
  width:250px;
  height: 250px;
  color:#fff;
  text-align:center;
  font:bold 16px/100px Arial, sans-serif;
  text-transform:uppercase;
  transition: all 0.4s ease-in-out;
  box-shadow:inset 0 0 0 5px rgba(0,0,0,.5), inset 0 0 0 10px rgba(255,255,255,.3);
}
.circle:hover{
  box-shadow:inset 0 0 0 10px rgba(255,255,255,.5), inset 0 0 0 250px rgba(0,0,0,.5);
}
span{
  display: none;
}
.circle:hover span{
    display:block;
}

html

<div class="circle"><span>Learn More</span></div>

the css portion works fine however the html part doesn’t and I need that to display text on a button when it is hovered

thank you

URL: http://funnelgurus.com

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Adam Klein 11 years, 2 months ago

    I got it to work properly using the text widget but not in the visual editor. I will use the text widget for now but can you explain why it doesn’t work in the visual editor widget for future reference.

    thank you

  2. petcar 11 years, 2 months ago

    I have the same problem. Suddenly all my HTML tags have disappeared

  3. Andrew Misplon Staff 11 years, 2 months ago

    Hi Adam

    Thanks for the feedback here. Please upgrade to Page Builder 2.2.3. We’ve corrected the problem.

    Thanks for hanging in there with us during this early release phase. We’ve ironed out most bugs now.

    @petcar, please update Page Builder.

    Thanks

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.

Have a different question or issue?

Start New Thread