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.
The forum of the forums
3 posters

    Last column width and Category titles centred

    avatar
    emmama
    New Member


    Posts : 11
    Reputation : 1
    Language : English

    In progress Last column width and Category titles centred

    Post by emmama Thu 2 Jul - 9: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.
    SLGray
    SLGray
    Administrator
    Administrator


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

    In progress Re: Last column width and Category titles centred

    Post by SLGray Thu 2 Jul - 20: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.
    JScript
    JScript
    Forumember


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

    In progress Re: Last column width and Category titles centred

    Post by JScript Thu 2 Jul - 21: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
    avatar
    emmama
    New Member


    Posts : 11
    Reputation : 1
    Language : English

    In progress Re: Last column width and Category titles centred

    Post by emmama Fri 3 Jul - 4: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 - 5:25; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


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

    In progress Re: Last column width and Category titles centred

    Post by SLGray Fri 3 Jul - 4: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.
    avatar
    emmama
    New Member


    Posts : 11
    Reputation : 1
    Language : English

    In progress Re: Last column width and Category titles centred

    Post by emmama Fri 3 Jul - 5: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.
    JScript
    JScript
    Forumember


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

    In progress Re: Last column width and Category titles centred

    Post by JScript Fri 3 Jul - 5: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
    avatar
    emmama
    New Member


    Posts : 11
    Reputation : 1
    Language : English

    In progress Re: Last column width and Category titles centred

    Post by emmama Fri 3 Jul - 9:52

    thank you
    avatar
    emmama
    New Member


    Posts : 11
    Reputation : 1
    Language : English

    In progress Re: Last column width and Category titles centred

    Post by emmama Tue 7 Jul - 15: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.
    JScript
    JScript
    Forumember


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

    In progress Re: Last column width and Category titles centred

    Post by JScript Tue 14 Jul - 1:22

    @emmama

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

    dd.dterm {
      text-align: center;
    }

    JS
    avatar
    emmama
    New Member


    Posts : 11
    Reputation : 1
    Language : English

    In progress Re: Last column width and Category titles centred

    Post by emmama Tue 21 Jul - 13: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

    In progress Re: Last column width and Category titles centred

    Post by emmama Wed 22 Jul - 15:08

    ~bump~
    JScript
    JScript
    Forumember


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

    In progress Re: Last column width and Category titles centred

    Post by JScript Wed 22 Jul - 17: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

      Current date/time is Mon 11 Nov - 17:50