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 Thu 2 Jul - 10:27

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 Thu 2 Jul - 21:51

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 : 51489
Reputation : 3519
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 Thu 2 Jul - 22:06

@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 Fri 3 Jul - 5:14

@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 Fri 3 Jul - 6:25; 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 Fri 3 Jul - 5:30

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 : 51489
Reputation : 3519
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 Fri 3 Jul - 6:24

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 Fri 3 Jul - 6:48

@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 Fri 3 Jul - 10:52

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 Tue 7 Jul - 16:43

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 Tue 14 Jul - 2:22

@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 Tue 21 Jul - 14:11

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 Wed 22 Jul - 16:08

~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 Wed 22 Jul - 18:13

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