-
AuthorPosts
-
jonathonlee Friend
jonathonlee
- Join date:
- November 2012
- Posts:
- 17
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 6 times in 1 posts
December 12, 2012 at 9:47 pm #183071Hi, I’m trying to find out how to get the department list center in user1 on the JA_University template.
Here is a picture for a example.
In the picture are 6 department Icons. The red box is to show you where I want it in and the red line is where I want it center. How can I do this and thanks for any help.
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
December 13, 2012 at 10:12 am #476110Hello jonathonlee,
Please go to
templates/ja_university/css/template.css
then find these lines:
<blockquote>ul.department-list li {
background: none repeat scroll 0 0 transparent;
display: block;
float: left;
height: 110px;
margin: 0;
padding: 0;
position: relative;
text-align: center;
width: 120px;
}</blockquote>change to
<blockquote>
ul.department-list li {
background: none repeat scroll 0 0 transparent;
display: inline-block;
float: none;
height: 110px;
margin: 0;
padding: 0;
position: relative;
text-align: center;
width: 120px;
}
</blockquote>And find:
<blockquote>
ul.department-list {
display: block;
float: left;
margin: 0;
padding: 0;
}
</blockquote>change to
<blockquote>
ul.department-list {
display: block;
float: none;
margin: 0;
padding: 0;
text-align: center;
}
</blockquote>Once done, clear JAT3 Cache.
jonathonlee Friendjonathonlee
- Join date:
- November 2012
- Posts:
- 17
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 6 times in 1 posts
December 16, 2012 at 4:04 am #476385In Firefox and IE everything is center, but in Chrome its to the left images and all. How Can I fix this issue.
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
December 17, 2012 at 9:47 am #476481akwasi_c Friendakwasi_c
- Join date:
- August 2008
- Posts:
- 124
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 10
- Thanked:
- 8 times in 1 posts
January 29, 2013 at 3:22 am #481442<em>@jonathonlee 350348 wrote:</em><blockquote>Hi, I’m trying to find out how to get the department list center in user1 on the JA_University template.
Here is a picture for a example.
In the picture are 6 department Icons. The red box is to show you where I want it in and the red line is where I want it center. How can I do this and thanks for any help.</blockquote>
I have a similar question concerning changing the image shown with the department list like the ‘bag’, ‘money’, graph. So how can I create my own and also how do I change them
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
January 31, 2013 at 7:13 am #481794Hello,
The image for the Department list is located in folder: <blockquote>templates/ja_university/images/icons/</blockquote> , eight images from dep-1.png to dep-8.png. In order to change them, just override your images to the old ones.
Create your image with size 90 x 180px, include 2 images, one for normal state, one for hover state. You can see the image from our demo for example: http://joomla25-templates.joomlart.com/ja_university/templates/ja_university/images/icons/dep-1.png
August 4, 2013 at 9:01 am #501188Can there be 9 icons instead of 8
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 5, 2013 at 7:11 am #501254Hi gmun,
Yes. You can display 9 icons instead of 8. Then open templates/ja_university/css/template.css, find lines:
ul.department-list li {
background: none;
display: block;
float: left;
margin: 0;
padding: 0;
position: relative;
text-align: center;
width: 120px;
height: 110px;
}Change to width: 108px; or until the icons stay in the one line. Clear JAT3 cache after saving changes.
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 7 replies, has 5 voices, and was last updated by jonathonlee 11 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Department List from JA-University
Viewing 8 posts - 1 through 8 (of 8 total)