Búsquedas recientes


No hay búsquedas recientes

Wraping text around an image



Publicado 16 dic 2022

Hello ZD Community :)

I/We are working on articles in Zendesk Guide and during this a need for wraping the text around the images arises. 

I tried to create a class in style.css as below -

.wrapingimageleft {
  float: left;
  margin: 30px 12px 3px 4px;
  border: 2px solid blue;    
}

and then creating a div container with that class in the source code for the article - 

<div>
  <div class="wrapingimageleft">
    <img src="/hc/article_attachments/11464688295057" alt="mceclip7.png">
  </div>
  <div>
    <p>BUILD</p>
   </div>
</div>

But this results in no change. Any idea on what is the issue? 


0

1

1 comentario

Hi Bo,
 
I've just tested your code on my end and it appears to be working as expected. One potential reason that it might not be working on your end could be that you have other styles in your CSS that is overriding the wrapingimageleft class. Can you try adding the !important rule to your styles, or moving the declaration block towards the top of your stylesheet and see if that has any effect?

0


Iniciar sesión para dejar un comentario.

¿No encontró lo que buscaba?

Nueva publicación