-
AuthorPosts
-
okkhalid Friend
okkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
July 10, 2014 at 8:42 pm #199583Hello,
in this page: http://www.joomlart.com/demo/#ja_medicarethere are boxes for each department, the name in the demo site are short.
In the real life: in my site my departments name are long, so it showing …… after the limit.
How I can have the full name of the department to appear.
thanks,
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 10, 2014 at 8:49 pm #541917Aesthetically, you can either reduce the font-size (see example below):
.grid-view .item .article-title {
font-size: 11px;
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
text-transform: uppercase;
white-space: nowrap;
}or you can change have the text wrap by changing the same CSS rule (see below):
.grid-view .item .article-title {
font-size: 15px;
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
text-transform: uppercase;
white-space: wrap;
}With either choice, the best thing to do is create a new file called custom.css within file path
–> /templates/ja_medicare/css <– and pasting either of the above two CSS rules within that custom.css file.Hope That Helps.
okkhalid Friendokkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
July 10, 2014 at 9:57 pm #541921Hi TomC,
Thank you, it reduced the font size but It did not wrap the text.
.grid-view .item .article-title {
font-size: 11px;
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
text-transform: uppercase;
white-space: wrap;
}Please help. thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 10, 2014 at 10:05 pm #541922Actually, it was an either/or recommendation.
If you didn’t want to reduce the size of the font, then you could change the “wrap” property.
OR . . .
If you reduce the font-size, then you don’t need to worry about the word-wrap . . . . unless your “department titles” get any longer, of course. 😎
okkhalid Friendokkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
July 10, 2014 at 10:09 pm #541923Yah the name is very long lol
So I would like to wrap it, but when I inserted the code below, it did not wrap the text..grid-view .item .article-title {
font-size: 11px;
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
text-transform: uppercase;
white-space: wrap;
}okkhalid Friendokkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
July 10, 2014 at 10:10 pm #541924I put </br> in the title but it did not work 😮
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 10, 2014 at 10:10 pm #541925Then this is the code you want . . . .
😎
okkhalid Friendokkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
July 10, 2014 at 10:14 pm #541926Thank you TomC,
I have inserted the code, but nothing happen yet:
http://www.horizonsolutions.ca/ciecsi/our-services/immigration
Thanks,
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 10, 2014 at 10:19 pm #541928<em>@okkhalid 436147 wrote:</em><blockquote>Thank you TomC,
I have inserted the code, but nothing happen yet:
http://www.horizonsolutions.ca/ciecsi/our-services/immigration
Thanks,</blockquote>
Do me a favor . . . temporarily set “Optimize CSS” to “Off” within your Template Manager–General settings
okkhalid Friendokkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
July 10, 2014 at 10:25 pm #541929I did. thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 10, 2014 at 10:28 pm #541930Okay, I found the problem . . . .
Here is what you currently have within your custom.css file – line 19:
.grid-view .item .article-title {
font-size: 15px;
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
text-transform: uppercase;
}Here is what you need . . .
.grid-view .item .article-title {
font-size: 15px;
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
text-transform: uppercase;
white-space: wrap;
}😎
okkhalid Friendokkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
July 10, 2014 at 10:35 pm #541931TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 10, 2014 at 10:36 pm #541932<em>@okkhalid 436152 wrote:</em><blockquote>that is strange,
I have inserted the code before, please check the snapshot
</blockquote>I just inspected your CSS – just now – and the “white-space: wrap;” property is still not included within the CSS (in your custom.css file).
okkhalid Friendokkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
July 11, 2014 at 12:48 am #541936Hi TomC,
I have check with my ftp the custom.css for the full code, and its include the “white-space: wrap;”
Then I cleared the cash and flushed the site.But nothing happened.
??:eek:
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 11, 2014 at 3:14 pm #541987Something is definitely wrong then – because when I inspect your site CSS live (via Firebug),
note/click the image below:Notice – within the bottom right panel – the CSS rule in your custom.css file at line 19.
It is not showing the “white-space: wrap” property.
AuthorPostsThis topic contains 21 replies, has 2 voices, and was last updated by okkhalid 10 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum