Announcement

Collapse
No announcement yet.

Problem with image padding

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • prefix_vb4_bloganswered_title_rich Problem with image padding

    When I upload images into a blog entry the text wraps too close to the image. However, when I publish it as an article there appears to be some padding between the image & the text. How can I fix this so it's the same for blog posts?

    Thanks.

  • #2
    *bump*
    Help a brother out.

    Comment


    • #3
      Originally posted by Masamune. View Post
      When I upload images into a blog entry the text wraps too close to the image. However, when I publish it as an article there appears to be some padding between the image & the text. How can I fix this so it's the same for blog posts?

      Thanks.
      Edit template additional.css and add:

      Code:
      .blogcontent img {
          max-width: {vb:stylevar image_max_size};
          padding-right: {vb:stylevar padding};
          padding-bottom: {vb:stylevar padding};
      }
      *This definition is at the very bottom of blog.css, we are simply overwriting it using additional.css.


      Former vBulletin Support Staff
      Hacked recently? See my blog post "Recovering a Hacked vBulletin Site".
      Thinking outside the box? Need modification support? Visit www.vBulletin.org and have at it!

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X