Floating an image to the left of a text block

Answered

6 Comments

  • Brett Bowser
    Zendesk Community Team

    Hey Melody,

    There's no way to set this up without using custom code in your Guide theme which would require you to allow unsafe HTML. This is in place to reduce risk of someone introducing malicious code in your Help Center, however, from personal experience I have never run into any issues with this. If you do notice any spam or malicious activity in your Help Center, you can always mark that particular post as spam and suspend the user.

    As for the actual custom code required, I wasn't able to track down anything specific to what you're looking for, however, you may want to take a look at the following customization articles:

    I'll also leave this post open in case other users have some guidance for you.

    Cheers!

    0
  • Melody Quinn

    Thank you for the quick response, Brett!

    0
  • Anthony Inman

    Melody Quinn Brett Bowser

     

    I have been managing the guide for Scentsy Inc for the past 2.5 years and have had to think outside the box, because the powers that be in the IT department around here do not want me to mess with the guide theme editor. It has been tremendous frustration for me, so I learned how to add CSS inline with the HTML in the source code for each article. It can be extremely time consuming, but it allows me to create interactive and user friendly articles. 

    Here is an example of what I do to float images within an article. This also allows you to float text and anything else within an article. In this example I have created 2 floating columns within the article. I have the images floating to the right of the text. 

    Here is how I set it up in the article's source code.

    The columns are floating left and the images are floating right. 

    Hope this helps.

    Let me know if you have any questions.

    Tony Inman

    Scentsy Knowledge Base Admin.


     

     

    0
  • Brett Bowser
    Zendesk Community Team

    This is awesome. Thanks for taking the time to share this Anthony!

    0
  • Richard McDonald

    Anthony, I have been trying to apply inline CSS to articles but every time I hit preview article the inline CSS is either ignored or trashed but in the editor the inline CSS is working just fine. Do you know if there is some other button I have overlooked that disables article source code editing?

    Edit: Oops, it was the display unsafe code option referenced above. Sorry.

    0
  • Anthony Inman

    Richard McDonald 

    I was just about to suggest that, until I read your edit. I'm glad you figured it out. Did you know you can also add Java Script in articles? I figured out how to put a search function in an article by adding the JS in the article source code. 

    0

Please sign in to leave a comment.

Powered by Zendesk