The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Last column width and Category titles centred

3 posters

Go down

In progress Last column width and Category titles centred

Post by emmama July 2nd 2015, 9:27 am

Hi there, I have two questions.

1. How do I make the last column thinner and my category (left-hand column in) wider? I've tried other suggestions from other threads but they don't seem to work.

2. How do I centre the category information? So in the case of my site, the information I wish to centre is the titles like "The Necessities" and the last post information.

My site link is: http://tailsofkings.forumotion.com and my site used phpBB3 style (if I'm correct).

Much appreciated.
avatar
emmama
New Member

Posts : 11
Reputation : 1
Language : English

http://tailsofkings.forumotion.com

Back to top Go down

In progress Re: Last column width and Category titles centred

Post by SLGray July 2nd 2015, 8:51 pm

2.  Center forum titles.  You will have to add this to the title of each forum:
Code:
<center>FORUM TITLE</center>


Last column width and Category titles centred Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51526
Reputation : 3523
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Last column width and Category titles centred

Post by JScript July 2nd 2015, 9:06 pm

@SLGray
Or using this CSS:
Code:

ul.topiclist.forums dd h3 {
  text-align: center !important;
}


emmama wrote:1. How do I make the last column thinner and my category (left-hand column in) wider? I've tried other suggestions from other threads but they don't seem to work.
I do not quite understand, could you post a sample image?

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

In progress Re: Last column width and Category titles centred

Post by emmama July 3rd 2015, 4:14 am

@JScript Sorry, your code didn't work. Basically, I'm trying to centre the forum names on all pages and well as the Last Posts column. So if you were to look at this image
Last column width and Category titles centred Screen13

When corrected the headings like "The Necessities", "Introductions" and "Admin Spot" would be centred over the secondary explanation (which is already centred). And the information in the last posts column (i.e. Thread name, date, poster) would also be centred.

As for the width of the column, I used This Thread (click me) for anyone who's wondering. Just change the code from '%' to 'px'.


Last edited by emmama on July 3rd 2015, 5:25 am; edited 1 time in total
avatar
emmama
New Member

Posts : 11
Reputation : 1
Language : English

http://tailsofkings.forumotion.com

Back to top Go down

In progress Re: Last column width and Category titles centred

Post by SLGray July 3rd 2015, 4:30 am

SLGray wrote:2.  Center forum titles.  You will have to add this to the title of each forum:
Code:
<center>FORUM TITLE</center>


Last column width and Category titles centred Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51526
Reputation : 3523
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Last column width and Category titles centred

Post by emmama July 3rd 2015, 5:24 am

I can see that. I was just hoping there was a working code I could add to my CSS to save me the time. 

Also still looking for a code to centre my "Last Posts" column.
avatar
emmama
New Member

Posts : 11
Reputation : 1
Language : English

http://tailsofkings.forumotion.com

Back to top Go down

In progress Re: Last column width and Category titles centred

Post by JScript July 3rd 2015, 5:48 am

@emmama
Okay, replace the previous code to the this:
Code:

ul.topiclist.forums dd h3 {
  display: inherit !important;
  margin-bottom: -10px !important;
  margin-top: 0 !important;
  text-align: center !important;
}

Result:
Last column width and Category titles centred O419ILd

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

In progress Re: Last column width and Category titles centred

Post by emmama July 3rd 2015, 9:52 am

thank you
avatar
emmama
New Member

Posts : 11
Reputation : 1
Language : English

http://tailsofkings.forumotion.com

Back to top Go down

In progress Re: Last column width and Category titles centred

Post by emmama July 7th 2015, 3:43 pm

Unfortunately after further exploring my site, these codes have only affected the forum table on the homepage. The tables in the subcategories are still out of alignment and look like this:
Last column width and Category titles centred Screen14

I'm also curious as to why my 'Author" column has gone missing. I've never touched it, but it's gone.
avatar
emmama
New Member

Posts : 11
Reputation : 1
Language : English

http://tailsofkings.forumotion.com

Back to top Go down

In progress Re: Last column width and Category titles centred

Post by JScript July 14th 2015, 1:22 am

@emmama

Ok, in this case, remove all the old code and add this below:
Code:

dd.dterm {
  text-align: center;
}

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

In progress Re: Last column width and Category titles centred

Post by emmama July 21st 2015, 1:11 pm

This seems to have fixed the centre alignment, so thanks for that. I even managed to alter it so the Last Posts column was also centred. Only, it wouldn't centre the username of the poster. See here:
Last column width and Category titles centred Screen16

Also, my Authors column is still missing. I've seen threads of people using phpBB3 who wish to remove it, but I can't see it. I've not altered the template, so I'm not sure what could've happened.
avatar
emmama
New Member

Posts : 11
Reputation : 1
Language : English

http://tailsofkings.forumotion.com

Back to top Go down

In progress Re: Last column width and Category titles centred

Post by emmama July 22nd 2015, 3:08 pm

~bump~
avatar
emmama
New Member

Posts : 11
Reputation : 1
Language : English

http://tailsofkings.forumotion.com

Back to top Go down

In progress Re: Last column width and Category titles centred

Post by JScript July 22nd 2015, 5:13 pm

emmama wrote:(...)Only, it wouldn't centre the username of the poster.(...)
Add this:
Code:

dd.lastpost span.color-groups {
  float: inherit !important;
}

emmama wrote:(...)Also, my Authors column is still missing. I've seen threads of people using phpBB3 who wish to remove it, but I can't see it. I've not altered the template, so I'm not sure what could've happened.
That part I did not understand very well, you could post a "print"?

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum