Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • waratah Friend
    #201299

    Currently, if I add a message box alongside an image, the box frame extends all the way behind the image. The text wraps nicely into the available space. Is there any way I can get the frame to be narrowed horizontally so it doesn’t go behind the image?


    1. message-box
    chavan Friend
    #549510

    If you need your layout to look something like the attached image, please use my css fix

    1. Go to this File: /templates/ja_social/css/template.css

    Add this code

    .clsp {
    width: 40%;

    }

    div.img_caption img {
    width: 92%;

    }

    2. Go to the article content and replace this text in your article content

    <p class="ja-typo-box box-hilite-1">
    You get this, right? <strong>
    11% of all litigated injuries are responsible for 78% of all work comp costs...</strong></p>

    with

    <p class="ja-typo-box box-hilite-1 clsp">
    You get this, right? <strong>
    11% of all litigated injuries are responsible for 78% of all work comp costs...</strong></p>

    I have just added a class clsp to the <p>


    1. Work-Comp-Costs-tell-the-story-2014-09-15-13-04-27
    waratah Friend
    #549976

    So clever! And simple 🙂

    Changing the width of the div.img_caption img seems to have solved my other problem with the image widths.

    Thank you 😎

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  waratah 10 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum