-
AuthorPosts
-
July 27, 2011 at 9:56 am #166754
I want to make char. limit for ja news pro article titles. How can I make it?
pritam Friendpritam
- Join date:
- April 2011
- Posts:
- 609
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 11
- Thanked:
- 125 times in 113 posts
July 27, 2011 at 10:02 am #403292Hello anoel ,
To JA news pro title max char
Can you please provide your site url but first go into the template manager and set css optimiation to “No” so we can see the correct files to modify and not the compressed version.
July 27, 2011 at 10:07 am #403294pritam Friendpritam
- Join date:
- April 2011
- Posts:
- 609
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 11
- Thanked:
- 125 times in 113 posts
July 27, 2011 at 10:25 am #403297Hello anoel ,
To JA news pro title max char
find this code at – /templates/ja_teline_iv/html/mod_janewspro/default/style.css line no.56
.default .ja-zinsec h2 a {
color: #000000;}
Change this code to :-
.default .ja-zinsec h2 a {
color: #000000;
font-size: 30px;/*set pixel as per requirement*/
}July 27, 2011 at 10:39 am #403303The code like down. but its line no.111
.default .ja-zinsec h2 a {color: #000;
background: #fff;
padding: 0 12px 0 4px;
display: inline-block;
}
I found this code on line no.56
.default .ja-zin .ja-box .ja-box-inner {margin: 0;
padding: 12px 12px 8px;
border-top: 1px dotted #ccc;
}
pritam Friendpritam
- Join date:
- April 2011
- Posts:
- 609
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 11
- Thanked:
- 125 times in 113 posts
July 27, 2011 at 10:52 am #403306Hello anoel ,
I have checked your site again . I use Mozila Firebug for inspect element , where I have seen the location of css file same above .At my end it is showing at /templates/ja_teline_iv/html/mod_janewspro/default/style.css line no.56
July 27, 2011 at 11:54 am #403312I think, I need to edit here for char. limit. but how 🙁
<h4 class=”ja-zintitle”>
<a href=”<?php echo $row->link;?>” title=”<?php echo strip_tags($row->title);?>”><?php echo $row->title;?></a>
</h4>I need to help Please.
July 28, 2011 at 6:18 pm #403479Im not happy with your half support.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 28, 2011 at 9:08 pm #403494<em>@anoel 256200 wrote:</em><blockquote>Im not happy with your half support.</blockquote>
It appears that you have been receiving assistance – and have even suggested some trial-and-error fixes of your own.Do you use any online web development tools – such as Firebug (as pritam did above and has been using to try to assist you)?
July 29, 2011 at 3:11 pm #403620Im using cuteftp. Anyway this code is not about my problem. its changing ja news main category name size. I said how can I change characters limit of articles titles.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 29, 2011 at 5:17 pm #403646Because some news titles are too long turkish is not like english. Some words are too long. so some article titles are 3 or 4 lines, some are 1 line or 2 lines. Its not looking good.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
July 29, 2011 at 5:23 pm #403647I don’t think pritam fully understood what you wanted here. His method would just reduce the size of the title not reduce the number of chars. There are a number of ways to achieve that but I only have an iPad until tomorrow so it is difficult for me to test some things for you.
Do you want everything after say 30 chars stripped from the end of the title? I think that may look very odd.
1 user says Thank You to Phill for this useful post
-
AuthorPosts
This topic contains 19 replies, has 4 voices, and was last updated by anoel 13 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum