-
AuthorPosts
-
microvation Friend
microvation
- Join date:
- March 2011
- Posts:
- 75
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 32
- Thanked:
- 3 times in 1 posts
April 10, 2011 at 12:45 am #162581Featured articles on home page have thumbnails right-justified. This is nice. On my site, I use blog category menu items. On the blog layout pages, the pictures is standard layout, but I’d like the custom ja-rave featured articles layout used on the home page … how can I do this?
site is http://www.microvation.org. Attached screenshot illustrates. I am on Joomla 1.6. Thanks
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 10, 2011 at 7:29 am #385581Try add this at end of template.css file::
.blog img.left{float:right;}
1 user says Thank You to aman204 for this useful post
microvation Friendmicrovation
- Join date:
- March 2011
- Posts:
- 75
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 32
- Thanked:
- 3 times in 1 posts
April 11, 2011 at 2:19 am #385678Thanks for responding. Unfortunatly, this is a bit more complex. I have spent a good half-day trying to make your solution work, but I have not been able to. The attached annotated screenshot shows what happens when I add:
.blog img.left{float:right;}
Then the image is still not position all the way right, short by about 5 px. Also, the image is not positioned at the top.
If I instead add:
.blog img.left { top: -5px; position: absolute; right: 0px; }
.blog div.haveimage { padding-right: 140px; position: relative; }Then I have the same problems. I have updated the annotated screenshot to illustrate this more clearly. Much appreciate the help and any advice on this. Thanks.
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 11, 2011 at 5:23 am #385707How about changing this::
.blog img.left{float:right;}
to
.blog img.left{float:right;margin-top:-70px;}
1 user says Thank You to aman204 for this useful post
microvation Friendmicrovation
- Join date:
- March 2011
- Posts:
- 75
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 32
- Thanked:
- 3 times in 1 posts
April 11, 2011 at 2:01 pm #385781Thanks, that helps, the pic is at the top now! However, two differences from the home/feature page remains. First, text does not wrap as it does in the featured layout. Second, there is a right margin–the pic does not go flush right as it does in featured. Attached thumbnail show the difference more clearly.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 15, 2011 at 2:08 am #386469<em>@microvation 233470 wrote:</em><blockquote>Thanks, that helps, the pic is at the top now! However, two differences from the home/feature page remains. First, text does not wrap as it does in the featured layout. Second, there is a right margin–the pic does not go flush right as it does in featured. Attached thumbnail show the difference more clearly.</blockquote>
hi microvation,
Back the file templatesja_ravehtmlcom_contentcategoryblog_item.php,replace it by my attachment file
Then open the file templatesja_ravecsstemplate.css and add this css
.items-row .contentpaneopen { padding-right: 140px; position: relative; }
.items-row .contentpaneopen img.img { margin: 0px !important;width:120px;height:120px; }1 user says Thank You to Sherlock for this useful post
microvation Friendmicrovation
- Join date:
- March 2011
- Posts:
- 75
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 32
- Thanked:
- 3 times in 1 posts
April 18, 2011 at 3:04 am #386764Yes, this is working! The final solution was to use the new blog_item file you provided and add teh following 4 lines to the template.css
.items-row .contentpaneopen { padding-right: 140px; position: relative; }
.items-row .contentpaneopen img.img { margin: 0px !important;width:120px;height:120px; }
.blog img.left { top: -5px; position: absolute; right: 0px; }
.blog div.haveimage { padding-right: 140px; position: relative; }
Many thanks!
-billbAuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 3 voices, and was last updated by microvation 13 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum