Former Member
inherit
guest@proboards.com
165779
0
Nov 1, 2024 13:39:22 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 4, 2016 16:13:31 GMT -8
Hello All moviecenter.boards.netBasically i have managed to edit every cell apart from this one. How can i center align the text showing the number of Posts & Threads on the home page and slightly increase the spacing between them? Thanks Dave
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 5, 2016 8:47:13 GMT -8
Hello Dave BGo to the stylesheet and find this: and adjust alignment to what you want. I'm not sure you can increase the spacing between them. Maybe a dev can, if possible, add to the spacing part of the question.
|
|
Former Member
inherit
guest@proboards.com
165779
0
Nov 1, 2024 13:39:22 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 5, 2016 10:45:59 GMT -8
Hello Dave B Go to the stylesheet and find this: and adjust alignment to what you want. I'm not sure you can increase the spacing between them. Maybe a dev can, if possible, add to the spacing part of the question. Hi aRMY83 It already is .. /* Board List */ @board_names_color: @empty; @board_names_font: bold 105% Arial; @board_desc_color: @empty; @board_desc_font: normal 90% @default_forum_text_font_family; @board_mod_color: @empty; @board_mod_font: 75% @default_forum_text_font_family; @board_sub_color: @empty; @board_sub_font: 75% @default_forum_text_font_family; @board_align_main: left; @board_align_threads: center; @board_align_posts: center; @board_align_last_post: center; .boards .main { width: 62%; text-align: @board_align_main; } .boards .threads .posts { width: 18%; text-align: center; white-space: nowrap; } .boards .latest { width: 20%; text-align: @board_align_last_post; } .boards .main.redirect { border-right: 0px; } .boards .main .link a { color: @board_names_color; font: @board_names_font; } .boards .main .description { color: @board_desc_color; font: @board_desc_font; padding-left: 0px; padding-bottom: 3px; } .boards .main .moderators { color: @board_mod_color; font: @board_mod_font; padding-bottom: 3px; } .boards .main .sub-boards { color: @board_sub_color; font: @board_sub_font; } .boards table.list { table-layout: auto; } .boards table.list th.main { padding-left: 10px; } .boards table.list > tbody > tr > td { padding: 5px 10px; } Im guessing this may not be working because ive modified the template to the below <tr><td>Total Threads:</td><td>{if $[total_threads] == -1}N/A{else}$[total_threads]{/if}</td></tr> <tr><td>Total Posts:</td><td>{if $[total_posts] == -1}N/A{else}$[total_posts]{/if}</td></tr> Ive even tried wrapping the code above in center tags but that doesnt work either Dave
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 5, 2016 11:54:49 GMT -8
Hello Dave BI was viewing what your site showed earlier and that is the input I gave. I thought that that was surely the problem. Having said, I'm not sure what is causing that and if I may recommend, add a complete template code that has not been modified and see if that helps.
|
|
Former Member
inherit
guest@proboards.com
165779
0
Nov 1, 2024 13:39:22 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 5, 2016 11:59:18 GMT -8
Yeah aRMY83Ive tried a few ways of trying to get that text to center but i cant seem to target it. The only other thing im trying to work out is how to center the board name and description for a "Redirect Board". Dave
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 5, 2016 12:09:44 GMT -8
Yeah aRMY83Ive tried a few ways of trying to get that text to center but i cant seem to target it. The only other thing im trying to work out is how to center the board name and description for a "Redirect Board". Dave Maybe Brian or another mod can shed some light on the first part of the problem and as to the second part, seems that I saw a modification of some sorts way back when that did what your asking. I'll do some research on that one and if I come up with anything, I'll post/link it here.
|
|
#eb7100
33409
0
1
Oct 19, 2024 14:37:42 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jan 5, 2016 12:16:42 GMT -8
This line isn't targeting anything since you've told it to target .posts inside of .threads which isn't an existing element.
Change it to this and it'll work.
|
|
Former Member
inherit
guest@proboards.com
165779
0
Nov 1, 2024 13:39:22 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 5, 2016 12:28:08 GMT -8
This line isn't targeting anything since you've told it to target .posts inside of .threads which isn't an existing element. Change it to this and it'll work. Cheers Brian That worked perfectly. Dave Yeah aRMY83 Ive tried a few ways of trying to get that text to center but i cant seem to target it. The only other thing im trying to work out is how to center the board name and description for a "Redirect Board". Dave Maybe Brian or another mod can shed some light on the first part of the problem and as to the second part, seems that I saw a modification of some sorts way back when that did what your asking. I'll do some research on that one and if I come up with anything, I'll post/link it here. Thanks aRMY83 Dave
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 5, 2016 12:31:35 GMT -8
Your welcome Dave and thanks Brian for your valued assistance which is always appreciated.
|
|
Former Member
inherit
guest@proboards.com
165779
0
Nov 1, 2024 13:39:22 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 5, 2016 13:13:47 GMT -8
Thanks aRMY83Ive managed to figure this out now Dave
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 5, 2016 14:45:51 GMT -8
Hello Dave BHave you noticed that your categories are not aligned center? I'll be honest with you, IMO, I thought everything looked great prior to the aligning of those categories.
|
|
Former Member
inherit
guest@proboards.com
165779
0
Nov 1, 2024 13:39:22 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 5, 2016 14:52:53 GMT -8
Hello Dave B Have you noticed that your categories are not aligned center? I'll be honest with you, IMO, I thought everything looked great prior to the aligning of those categories. They are alligned center. Or at least that's what i set them too lol
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 5, 2016 15:06:45 GMT -8
This is what I'm seeing (Board Alignment) Movie Information Center Board The Box Office are not aligned one under the other is what I meant.
|
|
Former Member
inherit
guest@proboards.com
165779
0
Nov 1, 2024 13:39:22 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 5, 2016 15:08:16 GMT -8
Yeah i just noticed that aRMY83Ive just tried wrapping the category name in center tags but that didnt help much either as was still offset. Dave
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 5, 2016 16:02:45 GMT -8
Hello Dave BGive this a try: Go to the stylesheet and find this in the Board List: @board_align_main: left; and change to center
|
|