-
AuthorPosts
-
jreimer Friend
jreimer
- Join date:
- June 2009
- Posts:
- 50
- Downloads:
- 19
- Uploads:
- 7
- Thanks:
- 3
- Thanked:
- 2 times in 2 posts
April 23, 2013 at 8:58 pm #187028Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 24, 2013 at 11:28 am #490929Right now its difficult to guess the issue and give solution to you with only the screenshot
If you don’t want to publish URL of your site on the forum, you can pm me it. I shall check it for you
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 25, 2013 at 3:24 am #490971I have checked the issue on your site. The following step will help you to update image alignment on the front page
Open templates/ja_travel/css/template.css file
From
.blog-image { left: 4px; position: absolute; text-align: right; }
Change to
.blog-image { left: 4px; position: absolute; text-align: right; display: none !important;}
Remember to clear cache from Admin area.
Let me know the result
jreimer Friendjreimer
- Join date:
- June 2009
- Posts:
- 50
- Downloads:
- 19
- Uploads:
- 7
- Thanks:
- 3
- Thanked:
- 2 times in 2 posts
April 25, 2013 at 2:27 pm #491050This removed the images completely….so it didn’t work. I just want to remove the re-alignment. On some of the other templates I had to remove something from the /html/com_content/featured/default.php file…can I remove something from there to fix this?
jreimer Friendjreimer
- Join date:
- June 2009
- Posts:
- 50
- Downloads:
- 19
- Uploads:
- 7
- Thanks:
- 3
- Thanked:
- 2 times in 2 posts
April 25, 2013 at 2:29 pm #491051Fixed it.
Removed:
<?php
//Get out all images
$regex = "/<img[^>]*>/";
$image = '';
//print_r($this->item);die();
if (preg_match_all($regex,$this->item->introtext, $matches)) {
$this->item->introtext = preg_replace ($regex, '', $this->item->introtext);
$image = implode ("n", $matches[0]);
}?>
From default_item.php
1 user says Thank You to jreimer for this useful post
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by jreimer 11 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
frontpage image alignment
Viewing 5 posts - 1 through 5 (of 5 total)