Home>Support>Html disappearing in visual editor after saving the page

Html disappearing in visual editor after saving the page

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 9 months ago Adam Klein

    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. 9 years, 9 months ago petcar

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

  3. 9 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More