-
AuthorPosts
-
January 23, 2010 at 3:35 pm #147940
Hi
I am trying to set up this template with an article listing page.
The numbers, including the # number title are ‘right aligned’ but need to be center aligned to look better.
You can see the issue on the attachment or on the template demo at http://www.joomlart.com/demo/#templates.joomlart.com/ja_zinc. From the top menu, go to Joomla Overview – More About Joomla – The Project.
It appears sectiontableheader, sectiontableentry1..etc need to be changed from right to center but I don’t know what to edit to do this.
Thanks
Martin
lamvt Friendlamvt
- Join date:
- December 2006
- Posts:
- 265
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 52 times in 46 posts
January 24, 2010 at 10:59 am #330205I think try to use quickstat installation god for you
January 24, 2010 at 12:12 pm #330217Thanks for your reply.
I did use quickstart – as the formatting issue exists on the demo site I am assuming it must exist in the current version of the template.
I have used firebug to isolate what needs changing but I am not sure which file to change.
Martin
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
January 26, 2010 at 9:11 am #330431Hi mlsuf
Please open template.css file, add following code to the end of file:
table.contentpaneopen td, table.contentpane td {
padding: 5px;
}January 26, 2010 at 10:07 am #330436Hi
Thanks for reply – I have added the code but it doesn’t appear to have changed anything.
Martin
lamvt Friendlamvt
- Join date:
- December 2006
- Posts:
- 265
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 52 times in 46 posts
January 26, 2010 at 12:06 pm #330448hi , Martin
Could you send your live site, allow us to check it for you
ThanksJanuary 26, 2010 at 2:09 pm #330461lamvt Friendlamvt
- Join date:
- December 2006
- Posts:
- 265
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 52 times in 46 posts
January 27, 2010 at 4:21 pm #330639add bottom of your CSS file:
.sectiontableentry1_hilite td {padding: 0 10px 0 0;}
January 27, 2010 at 4:50 pm #330640Hi
Thanks again lamvt.
Just tried fix and it has half worked. The alignment on the the heading and article 2 is not good but it has worked on article 1 & 3.
Do I need to replicate your code for sectiontableheader_hilite and sectiontableentry2_hilite?
Thanks Martin
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
February 12, 2010 at 8:14 am #332478Hi
Thanks – that has sorted the formatting of the numbers. One more slight problem. The ‘#’ in the heading is not aligned with the numbers – that still seems to be right aligned. Is there a way of solving this.
You can see here http://www.brianmee.co.uk/gardening-quick-tips/
Thanks for your help.
Martin
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 22, 2010 at 8:35 am #333364Hello guy
Pls open the file componentscom_contentviewscategorytmpldefault_items.php and find codes 40
[PHP]
<?php if ($this->params->get(‘show_headings’)) : ?>
<tr>
<td class=”sectiontableheader<?php echo $this->escape($this->params->get(‘pageclass_sfx’)); ?>” align=”right” width=”5%”>
<?php echo JText::_(‘Num’); ?>
</td>
[/PHP]replace:
[PHP]
<?php if ($this->params->get(‘show_headings’)) : ?>
<tr class=”sectiontableentry<?php echo ($item->odd +1 ) . $this->escape($this->params->get(‘pageclass_sfx’)); ?>” >
<td class=”sectiontableheader<?php echo $this->escape($this->params->get(‘pageclass_sfx’)); ?>” align=”right” width=”5%”>
<?php echo JText::_(‘Num’); ?>
</td>
[/PHP]1 user says Thank You to Saguaros for this useful post
February 22, 2010 at 6:10 pm #333444That’s great – all sorted Thank you 😀
madeline63 Friendmadeline63
- Join date:
- January 2010
- Posts:
- 92
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
March 31, 2010 at 12:22 pm #338585hi, everyone
i am facing a big problem now.
i am using a div which consists a table to locate my pic and caption in my articles.
however, in IE those articles are look great and normal.
but when using iPhone and safari browser, all are out of position. please have a look on my attachment.
is it is my code error, or JA teline iii is not support table format article???
or, i need to change any php code? but how?
looking for your help…
thanks you.
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 2, 2010 at 3:52 am #338840Dear madeline63!
here is the solution to resolve the issue with the table tag
http://www.joomlart.com/forums/topic/table-cell-border-problem-ie-and-chrome/
Good luck
-
AuthorPosts
Viewing 15 posts - 1 through 15 (of 15 total)This topic contains 15 replies, has 5 voices, and was last updated by Saguaros 14 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum