Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: Ray. on January 06, 2017, 12:36:26 PM

Title: How to edit the width of a board
Post by: Ray. on January 06, 2017, 12:36:26 PM
So I don't know how to explain it, but here's an image of the area which dimensions I wanna work with:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimage.prntscr.com%2Fimage%2F8c7be06d0bd440e1bed2822d7d7cec8c.png&hash=9118b2afca97b16ed56206cf29a954b20fb4e1a9)

I want it like a little bit widther.
Any help would be nice.
Title: Re: How to edit the width of a board
Post by: Kindred on January 06, 2017, 12:37:52 PM
1- theme specific questions should be asked in the support topic dedicated to supporting that theme...
2- get firefox+firebug and use it to look at the code and css

What you are looking to change will probably not be a simple, one line change, given that it's part of a whole table...
Title: Re: How to edit the width of a board
Post by: Ray. on January 06, 2017, 12:46:40 PM
Quote from: Kindred on January 06, 2017, 12:37:52 PM
1- theme specific questions should be asked in the support topic dedicated to supporting that theme...
2- get firefox+firebug and use it to look at the code and css

What you are looking to change will probably not be a simple, one line change, given that it's part of a whole table...

It's Zone 99 from dziner studio, but they closed their forum so I can't ask for support there.
I'll try, but what to search for?
Title: Re: How to edit the width of a board
Post by: Kindred on January 06, 2017, 12:50:27 PM
no clue without looking at your specific site/theme...   there is a reason why we don't provide support for custom themes...
Title: Re: How to edit the width of a board
Post by: Ray. on January 06, 2017, 01:07:32 PM
Quote from: Kindred on January 06, 2017, 12:50:27 PM
no clue without looking at your specific site/theme...   there is a reason why we don't provide support for custom themes...

Need any files?
Title: Re: How to edit the width of a board
Post by: ARG01 on January 06, 2017, 01:14:01 PM
Try adjusting the width here, in index.css.

table.table_list tbody.content td.lastpost
{
line-height: 1.3em;
font-size: 12px;
width: 24%;
padding: 0.7em;
}
Title: Re: How to edit the width of a board
Post by: Ray. on January 06, 2017, 01:17:13 PM
Quote from: Arg01 on January 06, 2017, 01:14:01 PM
Try adjusting the width here, in index.css.

table.table_list tbody.content td.lastpost
{
line-height: 1.3em;
font-size: 12px;
width: 24%;
padding: 0.7em;
}


I did, but it didn't change anything...
Title: Re: How to edit the width of a board
Post by: ARG01 on January 06, 2017, 01:25:52 PM
Got a link?
Title: Re: How to edit the width of a board
Post by: Ray. on January 06, 2017, 01:30:49 PM
Quote from: Arg01 on January 06, 2017, 01:25:52 PM
Got a link?

It's a Croatian forum...
Title: Re: How to edit the width of a board
Post by: ARG01 on January 06, 2017, 01:32:22 PM
I currently do not have that theme installed anywhere. A link would help.
Title: Re: How to edit the width of a board
Post by: Ray. on January 06, 2017, 01:39:44 PM
Quote from: Arg01 on January 06, 2017, 01:32:22 PM
I currently do not have that theme installed anywhere. A link would help.

It's a premium theme, find it online.
Title: Re: How to edit the width of a board
Post by: ARG01 on January 06, 2017, 01:41:58 PM
Yea, I have the theme. I just don't have it installed anywhere to check.
Title: Re: How to edit the width of a board
Post by: lurkalot on January 06, 2017, 02:05:11 PM
Quote from: Ray. on January 06, 2017, 01:17:13 PM
Quote from: Arg01 on January 06, 2017, 01:14:01 PM
Try adjusting the width here, in index.css.

table.table_list tbody.content td.lastpost
{
line-height: 1.3em;
font-size: 12px;
width: 24%;
padding: 0.7em;
}


I did, but it didn't change anything...

Don't forget to refresh your browser to seethe changes. Press Ctrl+F5 on your keyboard.
Title: Re: How to edit the width of a board
Post by: Illori on January 06, 2017, 02:20:49 PM
Quote from: Ray. on January 06, 2017, 01:39:44 PM
Quote from: Arg01 on January 06, 2017, 01:32:22 PM
I currently do not have that theme installed anywhere. A link would help.

It's a premium theme, find it online.

that is illegal, you should not rip them off by using the theme if you never paid for it in the first place.
Title: Re: How to edit the width of a board
Post by: Kindred on January 06, 2017, 02:35:25 PM
we definitely do not provide support to people who have illegally obtained a premium theme
Title: Re: How to edit the width of a board
Post by: ARG01 on January 06, 2017, 02:51:16 PM
Quote from: Illori on January 06, 2017, 02:20:49 PM

that is illegal, you should not rip them off by using the theme if you never paid for it in the first place.

Quote from: Kindred on January 06, 2017, 02:35:25 PM
we definitely do not provide support to people who have illegally obtained a premium theme

I agree with both of you, although is has not been clearly defined where, or how the theme was obtained. In any case, the setting requiring adjustment is not necessarily theme specific since it does reside in the Default theme as well.
However I will refrain from offering further support on this, until the OP is capable of establishing legitimate ownership of the theme.  ;) 
Title: Re: How to edit the width of a board
Post by: Kindred on January 06, 2017, 02:54:06 PM
the thing is, Arg...   your update won't necessarily fix things, depending on the widths of the OTHER table columns
Title: Re: How to edit the width of a board
Post by: ARG01 on January 06, 2017, 03:23:25 PM
Adjusting width for the "lastpost" settings will indeed change the width. I have done it many times. It may however affect the width of the "td class="info" area. This usually is not much of an issue if the wrapper is set to 100%.
But you are correct. Although it will work, it's not the best way to do it. Changing widths for all of the tables, to correspond with each other is best way. Also making the same changes in other files to match would be suggested. Of hand I cant remember exactly what files those would be?
Title: Re: How to edit the width of a board
Post by: SkzlN on January 06, 2017, 04:06:31 PM
If i'm no wrong, when we do some changes on the theme, it's much better to verify it on:

Forum > Administration Center > Themes and Layout > Modify Themes > style.css....

because sometimes, it's will have to wait sometimes to appear... so just be patient and you will see after maybe 1-2days...
Title: Re: How to edit the width of a board
Post by: Illori on January 06, 2017, 04:12:56 PM
style.css is not found in SMF 2.0, also we dont recommend editing themes that way as you dont get a backup to restore if something goes wrong.
Title: Re: How to edit the width of a board
Post by: SkzlN on January 06, 2017, 04:14:23 PM
i'm using smf2.0 and i see many times style.css, i edited it and none is happenned on it, if i'm no wrong, Zone99 was a theme who got compatible with 1.0 and 2.0 ... Maybe zone99 don't have style.css, so maybe he can use index.css...
Title: Re: How to edit the width of a board
Post by: Kindred on January 06, 2017, 05:48:13 PM
again, while it is possible to edit your css that way, it is not the recommended way, at all.

use ftp, get a copy, edit that, reupload...
Title: Re: How to edit the width of a board
Post by: Ray. on January 13, 2017, 06:18:05 AM
Sorry, forgot 'bout this. I fixed it, so this can be Solved. Btw, I payed for it, I told him to find it online, pictures, videos etc thats what I meant.