-
AuthorPosts
-
fabian85416 Friend
fabian85416
- Join date:
- October 2013
- Posts:
- 2
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
November 28, 2013 at 12:42 pm #192619Hi,
i want to display only 3 items in the portfolio section (not 4). If i change the number of items in the backoffice (‘Displaying items – Button’) it is showing 3 items in the frontend but they are floating left. So, now it looks as if there is one item missing!
Is there an possibility to center this portfolio-block? Do i have to ajust anything in the css files?
Thank you.
fabian
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 29, 2013 at 4:17 am #513896This way will help you to change from 4items to 3items in the portfolio section
Open modules/mod_jacontentpopup/assets/css/style.css file
from
.ja-cp-main .ja-cp-group .ja-cp-item {
float: left;
width: 25%;
}Change to
.ja-cp-main .ja-cp-group .ja-cp-item {
float: left;
width: 33%;
}fabian85416 Friendfabian85416
- Join date:
- October 2013
- Posts:
- 2
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
November 29, 2013 at 10:34 am #513929Thank you. Problem is solved! 😉
1 user says Thank You to fabian85416 for this useful post
bvk1987 Friendbvk1987
- Join date:
- October 2012
- Posts:
- 187
- Downloads:
- 10
- Uploads:
- 31
- Thanks:
- 66
- Thanked:
- 6 times in 1 posts
December 7, 2013 at 3:36 pm #514658A small follow-up question: how can get the image and the title below it to link to another URL instead of opening a popu?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 9, 2013 at 9:00 am #514762<em>@bvk1987 400985 wrote:</em><blockquote>A small follow-up question: how can get the image and the title below it to link to another URL instead of opening a popu?</blockquote>
If you want to customize to another URL. You can customize them from php file
Open modules/mod_jacontentpopup/tmpl/default_item.php file and change with my red mark
<a <?php echo $target;?> href="<?php echo $row->link;?>" title="<?php echo isset($row->subtitle)?htmlspecialchars($row->subtitle):htmlspecialchars($row->title);?>" data-ref="<?php echo $ref;?>">
bvk1987 Friendbvk1987
- Join date:
- October 2012
- Posts:
- 187
- Downloads:
- 10
- Uploads:
- 31
- Thanks:
- 66
- Thanked:
- 6 times in 1 posts
December 9, 2013 at 10:58 am #514784I would like each of the 3 images to direct the user to a different webpage. If I change what you mentioned, they will all be directed to the same page I’m guessing?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 10, 2013 at 4:08 am #514901<em>@bvk1987 401155 wrote:</em><blockquote>I would like each of the 3 images to direct the user to a different webpage. If I change what you mentioned, they will all be directed to the same page I’m guessing?</blockquote>
You have to work manually on this case, make array[“link”] is external link consistence with items article.
Or if you don’t use popup, you can turn it off from JA Content Popup module and it will link to detail articles, the screenshot will help you more then
September 19, 2015 at 2:47 pm #686704Template – One Page
Joomla 3
analyticsdepartment.co.uk
In “Awesome team” module i reduced the image sizes from 240×180 to 200×150
With the original 240×180 size with mouse over there is no movement of the image.
With the reduced size the image slides to the left. This is even more pronounced when there are only three images in the module.Any ideas how this might be resolved?
sorted it
Changed
.ja-cp-main .ja-cp-image {
display: block;
margin: 0px;
padding: 10px;
}To
.ja-cp-main .ja-cp-image {
display: block;
margin: 0px;
padding: 75px;
}September 19, 2015 at 2:47 pm #749059Template – One Page
Joomla 3
analyticsdepartment.co.uk
In “Awesome team” module i reduced the image sizes from 240×180 to 200×150
With the original 240×180 size with mouse over there is no movement of the image.
With the reduced size the image slides to the left. This is even more pronounced when there are only three images in the module.Any ideas how this might be resolved?
sorted it
Changed
.ja-cp-main .ja-cp-image {
display: block;
margin: 0px;
padding: 10px;
}To
.ja-cp-main .ja-cp-image {
display: block;
margin: 0px;
padding: 75px;
}AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 4 voices, and was last updated by tdecae 9 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
only 3 items in portfolio
Viewing 9 posts - 1 through 9 (of 9 total)