-
AuthorPosts
-
September 14, 2014 at 2:23 am #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?
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
September 15, 2014 at 7:38 am #549510If 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 user says Thank You to chavan for this useful post
September 18, 2014 at 1:42 am #549976So 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 😎
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by waratah 10 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum