PDA

View Full Version : Forum Borders / Gridlines


aleheroix
05-17-2014, 07:02 PM
*I've moved to a new thread in the correct forum, please delete this thread (https://vborg.vbsupport.ru/showthread.php?p=2498183#post2498183)*

Hi, I've asked vBulletin and they've directed me here, as it isn't a minor customisation apparently.

I have been using the following code to add border lines to the forum module on the forum page and sub forum pages :
.forum-list-container { border-spacing: 3px; }
.topic-list-container { background: none repeat scroll 0 0 #B6B6B8; border-spacing: 3px; }

Putting that (on fresh install) however causes the lines to appear out of place, and independent of the frontend structure of the forum you see on your page. See below...

https://vborg.vbsupport.ru/external/2014/05/19.png
https://vborg.vbsupport.ru/external/2014/05/20.png

Now, I have been told by support that...
"it exists to house the rss feed icon when it is enabled, and it's showing like that because the style is designed not to have table borders...putting the borders in shows the table." (Ticketid: 1257733)

Traditionally forums have lines on them, its just something that should be optional, which it isn't in vB5. :confused:

.cell-count {
padding-left: 5px !important;
}
.cell-lastpost {
padding-left: 5px !important;
}
If this code worked (which it doesn't) I would probably be able to make do, but on topics page, we would still need to address the issue of the extra (empty) column.

aleheroix
05-19-2014, 11:32 PM
bump!

Spangle
05-21-2014, 10:58 AM
*I've moved to a new thread in the correct forum, please delete this thread (https://vborg.vbsupport.ru/showthread.php?p=2498183#post2498183)*

Hi, I've asked vBulletin and they've directed me here, as it isn't a minor customisation apparently.

I have been using the following code to add border lines to the forum module on the forum page and sub forum pages :
.forum-list-container { border-spacing: 3px; }
.topic-list-container { background: none repeat scroll 0 0 #B6B6B8; border-spacing: 3px; }

Putting that (on fresh install) however causes the lines to appear out of place, and independent of the frontend structure of the forum you see on your page. See below...

https://vborg.vbsupport.ru/external/2014/05/19.png
https://vborg.vbsupport.ru/external/2014/05/20.png

Now, I have been told by support that...
"it exists to house the rss feed icon when it is enabled, and it's showing like that because the style is designed not to have table borders...putting the borders in shows the table." (Ticketid: 1257733)

Traditionally forums have lines on them, its just something that should be optional, which it isn't in vB5. :confused:

.cell-count {
padding-left: 5px !important;
}
.cell-lastpost {
padding-left: 5px !important;
}
If this code worked (which it doesn't) I would probably be able to make do, but on topics page, we would still need to address the issue of the extra (empty) column.

Hoirizontal lines maybe, but not vertical, why not just alternate the column colours, that way you can do away with the lines, but you still create the illusion of a boundary between the headers?

aleheroix
05-21-2014, 11:20 AM
Hoirizontal lines maybe, but not vertical, why not just alternate the column colours, that way you can do away with the lines, but you still create the illusion of a boundary between the headers?

TBH I, like most others, am considering going to vB4 instead. vB4 has lines/borders. Such a shame because everything else is great but it's just a must that we have the lines, thats what is required.

Using colours wouldn't work, as we have a lot of older users who want the lines, they want a traditional looking forum page. (I don't see what the problem is though, 5.05 had the lines in the correct place with the above code, why did they change it?)

Spangle
05-21-2014, 01:39 PM
TBH I, like most others, am considering going to vB4 instead. vB4 has lines/borders. Such a shame because everything else is great but it's just a must that we have the lines, thats what is required.

Using colours wouldn't work, as we have a lot of older users who want the lines, they want a traditional looking forum page. (I don't see what the problem is though, 5.05 had the lines in the correct place with the above code, why did they change it?)

what you want must be achievable, have you tried asking the question on VB.com.

You may also want to change the thread title, as it doesn't really describe what you are trying to do

aleheroix
05-21-2014, 01:44 PM
what you want must be achievable, have you tried asking the question on VB.com.

You may also want to change the thread title, as it doesn't really describe what you are trying to do

Yep, the ticket number is in OP. They redirected me to ask here.

I totally agree, it must be achievable and I would have thought they would be able to do it.

Spangle
05-21-2014, 06:20 PM
Yep, the ticket number is in OP. They redirected me to ask here.

I totally agree, it must be achievable and I would have thought they would be able to do it.

Seems strange that you were directed here, when most of the support staff who are able to help out with this sort of thing are also on VB.com forum !

aleheroix
05-22-2014, 07:22 AM
Seems strange that you were directed here, when most of the support staff who are able to help out with this sort of thing are also on VB.com forum !

What can I say/do? TBH this is the only issue we have with vB5, everything else is great! Like I mentioned earlier, the lines/borders looked great on 5.05 and the code worked. But for some reason with 5.1 that has changed.

I would hate to have to go to vB4 seen as I have never used it before, I've had about a year or so learning vB5, I don't want to have to start again over something so small...

Spangle
05-23-2014, 07:19 AM
What can I say/do? TBH this is the only issue we have with vB5, everything else is great! Like I mentioned earlier, the lines/borders looked great on 5.05 and the code worked. But for some reason with 5.1 that has changed.

I would hate to have to go to vB4 seen as I have never used it before, I've had about a year or so learning vB5, I don't want to have to start again over something so small...

What you could do is use "inspect element", right click on the page in firefox and it's in the menu that appears, that will show you the page html and css, you can make alterations in there to see what effect it has.

When you get the desired effect search for the css in templates, or add it to the css additional css.

aleheroix
05-24-2014, 11:50 AM
What you could do is use "inspect element", right click on the page in firefox and it's in the menu that appears, that will show you the page html and css, you can make alterations in there to see what effect it has.

When you get the desired effect search for the css in templates, or add it to the css additional css.

The issue is that the code that puts gridlines on the forum module, etc doesn't allow you to then move those borders (or remove them).

Spangle
05-24-2014, 03:33 PM
The issue is that the code that puts gridlines on the forum module, etc doesn't allow you to then move those borders (or remove them).

Hmm I always thought anything added to css additional css overrides previous code.

Have you tried entering it into additional css ?

aleheroix
05-24-2014, 08:38 PM
Hmm I always thought anything added to css additional css overrides previous code.

Have you tried entering it into additional css ?
Thats how I have been adding it ;)

Spangle
05-24-2014, 08:46 PM
Thats how I have been adding it ;)

try something along these lines ?

{
border-top-style:dotted;
border-right-style:solid;
border-bottom-style:dotted;
border-left-style:solid;
}

If you leave out the left/right on the relevant cells you should make the RSS Cell appear as if it's not there.

http://www.w3schools.com/css/css_border.asp

aleheroix
05-24-2014, 11:44 PM
try something along these lines ?

{
border-top-style:dotted;
border-right-style:solid;
border-bottom-style:dotted;
border-left-style:solid;
}

If you leave out the left/right on the relevant cells you should make the RSS Cell appear as if it's not there.

http://www.w3schools.com/css/css_border.asp

I've gotten this far...

.cell-forum {
border-left-style:dotted;
border-bottom-style:dotted;
border-top-style:dotted;
border-width:1px
}
.topics-count {
border-left-style:dotted;
border-right-style:dotted;
border-bottom-style:dotted;
border-top-style:dotted;
border-width:1px
}
.posts-count {
border-right-style:dotted;
border-bottom-style:dotted;
border-top-style:dotted;
border-width:1px
}
.lastpost {
border-right-style:dotted;
border-bottom-style:dotted;
border-top-style:dotted;
border-width:1px
}

Which looks like this :
https://vborg.vbsupport.ru/external/2014/05/14.png

That solves the extra column issue. As you can see, the positioning of the borders problem is still there, and using padding to try and reposition text doesnt work...

EDIT : Thanks for the link btw!

Spangle
05-25-2014, 09:44 AM
I've gotten this far...

.cell-forum {
border-left-style:dotted;
border-bottom-style:dotted;
border-top-style:dotted;
border-width:1px
}
.topics-count {
border-left-style:dotted;
border-right-style:dotted;
border-bottom-style:dotted;
border-top-style:dotted;
border-width:1px
}
.posts-count {
border-right-style:dotted;
border-bottom-style:dotted;
border-top-style:dotted;
border-width:1px
}
.lastpost {
border-right-style:dotted;
border-bottom-style:dotted;
border-top-style:dotted;
border-width:1px
}

Which looks like this :
https://vborg.vbsupport.ru/external/2014/05/14.png

That solves the extra column issue. As you can see, the positioning of the borders problem is still there, and using padding to try and reposition text doesnt work...

EDIT : Thanks for the link btw!

Have you tried using "text-align" or even "span"

If you search W3 Schools there should be an answer in there.

aleheroix
05-25-2014, 10:18 AM
Have you tried using "text-align" or even "span"

If you search W3 Schools there should be an answer in there.

Using relative movement is closest to what I require, but it also created a gap in between the cells were my new gridlines are. See below :
https://vborg.vbsupport.ru/external/2014/05/13.png

Im sure its padding like they suggested at vB.com but it just doesn't work, at least I can't get it to work. The text in the cells look fixed in position relative to the cell borders, surely that can't be the way its supposed to work can it? That completely takes the power away from any web designers hands in customising the look of the site :confused:

Spangle
05-25-2014, 10:34 AM
Using relative movement is closest to what I require, but it also created a gap in between the cells were my new gridlines are. See below :
https://vborg.vbsupport.ru/external/2014/05/13.png

Im sure its padding like they suggested at vB.com but it just doesn't work, at least I can't get it to work. The text in the cells look fixed in position relative to the cell borders, surely that can't be the way its supposed to work can it? That completely takes the power away from any web designers hands in customising the look of the site :confused:

Not sure if this will help, however when I wanted to use larger Icons for my forum, Lynne gave me this to add to css.additional.css it may help, or even point you in the right direction

.forum-list-container .forum-item .cell-forum > .forum-wrapper > .forum-info {padding-left: 45px;}

aleheroix
05-25-2014, 03:00 PM
Not sure if this will help, however when I wanted to use larger Icons for my forum, Lynne gave me this to add to css.additional.css it may help, or even point you in the right direction

.forum-list-container .forum-item .cell-forum > .forum-wrapper > .forum-info {padding-left: 45px;}

Yes, thanks. That did help actually.

It's still not right as the colour of some of the borders aren't included in the stylevar editor (if not all of them). I couldn't manage to get a border around the subforums section or category header however, no amount of poking and prodding got a border on that. Also, some of the borders from the default style kinda look rough with the new (retro) borders, though I suspect I can make them transparent in the stylevar editor.

https://vborg.vbsupport.ru/external/2014/05/10.png

https://vborg.vbsupport.ru/external/2014/05/11.png

https://vborg.vbsupport.ru/external/2014/05/12.png

In the hope that anyone else finds this useful, and anyone else helping me further with it, I will post the code here :
/* Moving the lastpost feed slightly away from the cell border to have a margin between the wrapper and the cell wall */
.forum-list-container .forum-item .lastpost > .lastpost-wrapper > .lastpost-info {position:relative;left:6px;}
.forum-list-container .forum-item .lastpost > .lastpost-wrapper > .avatar {position:relative;left:6px;}

/* We need to adjust the lastpost column header so it aligns with the lastpost feed. */
.forum-list-container .forum-list-header .header-lastpost {padding-left:6px;}

/* Add the columns on the main page */
.cell-forum, .cell-forum-main {border-style:none dotted dotted dotted;border-width:1px}
.lastpost {border-style:none dotted dotted none;border-width:1px}
.topics-count, .posts-count {border-style:none dotted dotted none;border-width:1px;}

/* The subforum header would be out of place if we add the border, so we move it down. */
.forum-list-container .subforum-list .subforum-header.h-clear {position:relative;top:8px;}

/* Moving the stats feed in the topics page slightly away from the cell border to have a margin between the wrapper and the cell wall */
.topic-list-container .topic-list .cell-count .posts-count {position:relative;left:6px;}
.topic-list-container .topic-list .cell-count .votes-count {position:relative;left:6px;}
.topic-list-container .topic-list .cell-count .views-count {position:relative;left:6px;}

/* Adjusting the column headers on the topics page */
.topic-list-container .topic-list-header .header-lastpost {padding-left:6px;}
.topic-list-container .topic-list-header .header-stats {padding-left:6px;}

/* Add the columns on the topics page */
.topic-list-container .topic-list .cell-inlinemod-item {border-style:none dotted dotted dotted;border-width:1px}
.cell-topic {border-style:none none dotted dotted;border-width:1px}
.cell-lastpost {border-style:none none dotted dotted;border-width:1px}
.cell-icons {border-bottom-style:dotted;border-width:1px}
.cell-count {border-style:none none dotted dotted;border-width:1px}

/* In the topics feed for posts, there is an inherited border style that looks out of place */
.topic-list-container.conversation-list .topic-list .cell-count .posts-count {border-style:none}

Through no experience of CSS I have managed get the classic vBulletin borders back on the listing pages. It looks so much clearer and easy to distinguish than the standard skin, why they decided to not have them in I wouldn't know. I even bought a crappy skin just because it had the borders on, but it looks even worse than the modified default skin so that was a waste of $20.

Any help is much appreciated!

Spangle
05-25-2014, 03:15 PM
Yes, thanks. That did help actually.

It's still not right as the colour of some of the borders aren't included in the stylevar editor (if not all of them). I couldn't manage to get a border around the subforums section or category header however, no amount of poking and prodding got a border on that. Also, some of the borders from the default style kinda look rough with the new (retro) borders, though I suspect I can make them transparent in the stylevar editor.

https://vborg.vbsupport.ru/external/2014/05/10.png

https://vborg.vbsupport.ru/external/2014/05/11.png

https://vborg.vbsupport.ru/external/2014/05/12.png

In the hope that anyone else finds this useful, and anyone else helping me further with it, I will post the code here :
/* Moving the lastpost feed slightly away from the cell border to have a margin between the wrapper and the cell wall */
.forum-list-container .forum-item .lastpost > .lastpost-wrapper > .lastpost-info {position:relative;left:6px;}
.forum-list-container .forum-item .lastpost > .lastpost-wrapper > .avatar {position:relative;left:6px;}

/* We need to adjust the lastpost column header so it aligns with the lastpost feed. */
.forum-list-container .forum-list-header .header-lastpost {padding-left:6px;}

/* Add the columns */
.cell-forum, .cell-forum-main {border-style:none dotted dotted dotted;border-width:1px}
.lastpost {border-style:none dotted dotted none;border-width:1px}
.topics-count, .posts-count {border-style:none dotted dotted none;border-width:1px;}

/* The subforum header would be out of place if we add the border, so we move it down. */
.forum-list-container .subforum-list .subforum-header.h-clear {position:relative;top:8px;}

/* Moving the stats feed slightly away from the cell border to have a margin between the wrapper and the cell wall */
.topic-list-container .topic-list .cell-count .posts-count {position:relative;left:6px;}
.topic-list-container .topic-list .cell-count .votes-count {position:relative;left:6px;}
.topic-list-container .topic-list .cell-count .views-count {position:relative;left:6px;}

/* Adjusting the column headers */
.topic-list-container .topic-list-header .header-lastpost {padding-left:6px;}
.topic-list-container .topic-list-header .header-stats {padding-left:6px;}

/* Add the columns on the topics page */
.topic-list-container .topic-list .cell-inlinemod-item {border-style:none dotted dotted dotted;border-width:1px}
.cell-topic {border-style:none none dotted dotted;border-width:1px}
.cell-lastpost {border-style:none none dotted dotted;border-width:1px}
.cell-icons {border-bottom-style:dotted;border-width:1px}
.cell-count {border-style:none none dotted dotted;border-width:1px}

/* In the topics feed for posts, there is an inherited border style that looks out of place */
.topic-list-container.conversation-list .topic-list .cell-count .posts-count {border-style:none}

Through no experience of CSS I have managed get the classic vBulletin borders back on the listing pages. It looks so much clearer and easy to distinguish than the standard skin, why they decided to not have them in I wouldn't know. I even bought a crappy skin just because it had the borders on, but it looks even worse than the modified default skin so that was a waste of $20.

Any help is much appreciated!

have you tried :

border-color:red; ? or whatever colour you want ?

The subforums re a PIA, I wanted to change the icons for them as well as the main icons, but no-one seems to know how to do that either, so adding borders will be in the same boat I suspect.

aleheroix
05-25-2014, 03:32 PM
have you tried :

border-color:red; ? or whatever colour you want ?

The subforums re a PIA, I wanted to change the icons for them as well as the main icons, but no-one seems to know how to do that either, so adding borders will be in the same boat I suspect.
I've tried :
.forum-list-container.stretch .subforum-list {border-color:red;border-width:1px;border-style:solid}
.forum-list-container .subforum-list {border-color:red;border-width:1px;border-style:solid}
.subforum-list {border-color:red;border-width:1px;border-style:solid}
.forum-list-container .subforum-list .td {border-color:red;border-width:1px;border-style:solid}
The last one not having anything after the prefix (as in "tr.subforum-list" then its just "td" with no ".")

Lynne
05-25-2014, 03:46 PM
I wanted to change the icons for them as well as the main icons, but no-one seems to know how to do that either, so adding borders will be in the same boat I suspect.
I have posted that before a couple of times. I think I posted it on vbulletin.com, so you may want to try a search there.

aleheroix
05-25-2014, 03:51 PM
I have posted that before a couple of times. I think I posted it on vbulletin.com, so you may want to try a search there.

No help with the category-header and subforum-list?

--------------- Added 1401042273 at 1401042273 ---------------

.forum-list-container.stretch .category-header td {border-style:solid}

This does put an ugly black line on the category-header...

https://vborg.vbsupport.ru/external/2014/05/9.png

Lynne
05-25-2014, 07:16 PM
This is what I use on my vB5 site for the main page:
/* border on homepage */
table.forum-list-container tr.forum-item td.cell-forum { border-width: 1px 1px 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}
table.forum-list-container tr.forum-item td.topics-count, table.forum-list-container tr.forum-item td.posts-count, table.forum-list-container tr.forum-item td.lastpost { border-width: 1px 1px 0 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}
table.forum-list-container tr.subforum-list td { border-width: 1px 1px 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px; padding-top: 15px;}
table.forum-list-container tr.subforum-list td.subforum-item { border: none; padding-top: 0;}
table.forum-list-container tr.category-header td { border-width: 1px 1px 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}
table.forum-list-container tr.subforum-list td.subforum-item { border: none; padding-top: 0;}
div.list-footer {border-width: 1px 1px 1px; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}

This is what I use to change the icons:
.forum-list-container .forum-item .cell-forum .icon {
background: url("path/here/image_old.png") no-repeat;
height: 20px;
width: 20px;
}
.forum-list-container .forum-item.new .cell-forum .icon {
background: url("path/here/image_new.png") no-repeat;
}

Spangle
05-25-2014, 07:16 PM
No help with the category-header and subforum-list?

--------------- Added 1401042273 at 1401042273 ---------------

.forum-list-container.stretch .category-header td {border-style:solid}

This does put an ugly black line on the category-header...

https://vborg.vbsupport.ru/external/2014/05/9.png

try removing .category-header from that bit of css

The border styling should not be applied to it then

Spangle
05-25-2014, 07:27 PM
I have posted that before a couple of times. I think I posted it on vbulletin.com, so you may want to try a search there.

Tried a search on VB.com and found this :

http://www.vbulletin.com/forum/forum/vbulletin-5-connect/vbulletin-5-connect-questions-problems-troubleshooting/vbulletin-5-tutorials/4028327-vb5-temp-fix-for-custom-forum-icons-any-size


But that doesn't work for sub forums.

The code you suggested above is OK if you only want a new and old icon, I would like to have a different icon for each sub-forum.

aleheroix
05-25-2014, 07:43 PM
This is what I use on my vB5 site for the main page:
/* border on homepage */
table.forum-list-container tr.forum-item td.cell-forum { border-width: 1px 1px 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}
table.forum-list-container tr.forum-item td.topics-count, table.forum-list-container tr.forum-item td.posts-count, table.forum-list-container tr.forum-item td.lastpost { border-width: 1px 1px 0 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}
table.forum-list-container tr.subforum-list td { border-width: 1px 1px 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px; padding-top: 15px;}
table.forum-list-container tr.subforum-list td.subforum-item { border: none; padding-top: 0;}
table.forum-list-container tr.category-header td { border-width: 1px 1px 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}
table.forum-list-container tr.subforum-list td.subforum-item { border: none; padding-top: 0;}
div.list-footer {border-width: 1px 1px 1px; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}

This is what I use to change the icons:
.forum-list-container .forum-item .cell-forum .icon {
background: url("path/here/image_old.png") no-repeat;
height: 20px;
width: 20px;
}
.forum-list-container .forum-item.new .cell-forum .icon {
background: url("path/here/image_new.png") no-repeat;
}

Wow, cheers Lynne!

That looks loads better than my attempt. I guess I need to have a bit more practice, huh?

Lynne
05-25-2014, 09:47 PM
Tried a search on VB.com and found this :

http://www.vbulletin.com/forum/forum/vbulletin-5-connect/vbulletin-5-connect-questions-problems-troubleshooting/vbulletin-5-tutorials/4028327-vb5-temp-fix-for-custom-forum-icons-any-size


But that doesn't work for sub forums.

The code you suggested above is OK if you only want a new and old icon, I would like to have a different icon for each sub-forum.
Then use the data-channel-id in the CSS declaration. (He gives an example of how to use that in post 4 of the thread you just linked to).

Spangle
05-25-2014, 10:03 PM
Then use the data-channel-id in the CSS declaration. (He gives an example of how to use that in post 4 of the thread you just linked to).

I tried that and it didn't work for sub-forums

Lynne
05-25-2014, 11:02 PM
Try using firebug, or whatever web developer tool you have, to see the CSS. It uses this as the declaration:

.forum-list-container .subforum-list .subforum-item .icon, .forum-list-container .forum-item.sub .cell-forum .icon {stuff}

So, use that with the data-id stuff.

Spangle
05-26-2014, 09:22 AM
Try using firebug, or whatever web developer tool you have, to see the CSS. It uses this as the declaration:

.forum-list-container .subforum-list .subforum-item .icon, .forum-list-container .forum-item.sub .cell-forum .icon {stuff}

So, use that with the data-id stuff.

I've been trying that for several hours on and off, I can remove the default icons, but cannot display the custom icons, even if I use the full url.

Lynne
05-26-2014, 03:26 PM
We can't help if you don't post your exact code. We need the link to the icons also. And, we need a link to the page.

Spangle
05-26-2014, 03:41 PM
We can't help if you don't post your exact code. We need the link to the icons also. And, we need a link to the page.

This is the page, particularly the Clubs Forum with individual team sub forums, ideally I want to use the teams crest as the icon:

http://www.premierleagueforum.co.uk/

The code I have tried to alter is copied from css_global.css and pasted into css.additional.css

.forum-list-container .subforum-list .subforum-item .icon,
.forum-list-container .forum-item.sub .cell-forum .icon {
background: transparent url("images/css/sprite_icons_vb_{vb:stylevar textdirection}.png") no-repeat scroll -272px -208px;
display: inline-block;
height: 11px;
width: 10px;
margin-{vb:stylevar right}: 7px;
margin-top:2px;
float:{vb:stylevar left};
}
.forum-list-container .subforum-list .subforum-item .icon.new,
.forum-list-container .forum-item.sub.new .cell-forum .icon {
background: transparent url("images/css/sprite_icons_vb_{vb:stylevar textdirection}.png") no-repeat scroll -256px -208px;
}

aleheroix
05-27-2014, 12:22 PM
This is what I use on my vB5 site for the main page:
/* border on homepage */
table.forum-list-container tr.forum-item td.cell-forum { border-width: 1px 1px 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}
table.forum-list-container tr.forum-item td.topics-count, table.forum-list-container tr.forum-item td.posts-count, table.forum-list-container tr.forum-item td.lastpost { border-width: 1px 1px 0 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}
table.forum-list-container tr.subforum-list td { border-width: 1px 1px 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px; padding-top: 15px;}
table.forum-list-container tr.subforum-list td.subforum-item { border: none; padding-top: 0;}
table.forum-list-container tr.category-header td { border-width: 1px 1px 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}
table.forum-list-container tr.subforum-list td.subforum-item { border: none; padding-top: 0;}
div.list-footer {border-width: 1px 1px 1px; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}

Just to add to this code, I've added the gridlines/borders on the topics tab view as well...

/* border of topics pages */
table.topic-list-container tbody.topic-list td.cell-topic { border-width: 1px 0 0 1px; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}
table.topic-list-container tbody.topic-list td.cell-icons { border-width: 1px 1px 0 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}
table.topic-list-container tbody.topic-list td.cell-lastpost { border-width: 1px 1px 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}
table.topic-list-container tbody.topic-list td.cell-inlinemod-item { border-width: 1px 1px 0 0; border-style: solid; border-color: #C8CCCE; border-spacing: 1px;}

/* moving various elements */
.forum-list-container .forum-item .lastpost > .lastpost-wrapper > .lastpost-info {position:relative;left:6px;}
.forum-list-container .forum-item .lastpost > .lastpost-wrapper > .avatar {position:relative;left:6px;}
.forum-list-container .forum-list-header .header-lastpost {padding-left:6px;}
.forum-list-container .subforum-list .subforum-header.h-clear {position:relative;top:8px;}
.topic-list-container .topic-list .cell-count .posts-count {position:relative;left:6px;}
.topic-list-container .topic-list .cell-count .votes-count {position:relative;left:6px;}
.topic-list-container .topic-list .cell-count .views-count {position:relative;left:6px;}
.topic-list-container .topic-list-header .header-stats {padding-left:6px;}
.topic-list-container .topic-list .cell-lastpost .lastpost-by {position:relative;left:6px;}
.topic-list-container .topic-list .cell-lastpost .post-date {position:relative;left:6px;}
.topic-list-container .topic-list .cell-lastpost .go-to-last-post {position:relative;left:6px;}
.topic-list-container .topic-list .cell-lastpost .avatar.h-left {position:relative;left:6px;}
.topic-list-container .topic-list-header .header-lastpost {padding-left:6px;}

Lynne
05-27-2014, 04:16 PM
This is the page, particularly the Clubs Forum with individual team sub forums, ideally I want to use the teams crest as the icon:

http://www.premierleagueforum.co.uk/

The code I have tried to alter is copied from css_global.css and pasted into css.additional.css

.forum-list-container .subforum-list .subforum-item .icon,
.forum-list-container .forum-item.sub .cell-forum .icon {
background: transparent url("images/css/sprite_icons_vb_{vb:stylevar textdirection}.png") no-repeat scroll -272px -208px;
display: inline-block;
height: 11px;
width: 10px;
margin-{vb:stylevar right}: 7px;
margin-top:2px;
float:{vb:stylevar left};
}
.forum-list-container .subforum-list .subforum-item .icon.new,
.forum-list-container .forum-item.sub.new .cell-forum .icon {
background: transparent url("images/css/sprite_icons_vb_{vb:stylevar textdirection}.png") no-repeat scroll -256px -208px;
}
I do not see that in your css_additional.css file at all. Besides that, that code is just the default code, no? I asked you to tell us *exactly* what you tried.

Spangle
05-27-2014, 05:37 PM
I do not see that in your css_additional.css file at all. Besides that, that code is just the default code, no? I asked you to tell us *exactly* what you tried.

Ok Sorry

I tried entering the data channel id numbers in various places within that code, and replacing the image url with one for the image I wanted.

I could make the default images disappear, but I couldn't get my custom images to replace them.

.forum-list-container .subforum-list .subforum-item**.icon,
.forum-list-container .forum-item.sub** .cell-forum .icon {
background: transparent url("images/css/sprite_icons_vb_{vb:stylevar textdirection}.png") no-repeat scroll -272px -208px;
display: inline-block;
height: 11px;
width: 10px;
margin-{vb:stylevar right}: 7px;
margin-top:2px;
float:{vb:stylevar left};
}
.forum-list-container .subforum-list .subforum-item .icon.new**,
.forum-list-container .forum-item.sub.new .cell-forum .icon {
background: transparent url("images/css/sprite_icons_vb_{vb:stylevar textdirection}.png") no-repeat scroll -256px -208px;
}

I tried the data channel id where the ** are.

Link to forum is http://www.premierleagueforum.co.uk

Lynne
05-27-2014, 07:03 PM
This is the link to your css_additional.css file:
http://www.premierleagueforum.co.uk/css.php?styleid=1&td=ltr&sheet=css_additional.css&ts=1401211294

I do not see the above code in there anywhere. I don't know how else to tell you that I CANNOT HELP if you don't have your code on the site so I can see what the problem is. I use firebug to look at sites and if you don't have your code in there, then I can't see what is wrong. Period.

Spangle
05-27-2014, 07:15 PM
This is the link to your css_additional.css file:
http://www.premierleagueforum.co.uk/css.php?styleid=1&td=ltr&sheet=css_additional.css&ts=1401211294

I do not see the above code in there anywhere. I don't know how else to tell you that I CANNOT HELP if you don't have your code on the site so I can see what the problem is. I use firebug to look at sites and if you don't have your code in there, then I can't see what is wrong. Period.

As it wasn't working I couldn't see the point in leaving it there?

I wasn't even sure if I had the right code.

I will add it back in for you.

If you concentrate on the sub forum called "arsenal" that will show me how to do the rest.

The image url for the Arsenal sub forum icon is http:www.premierleagueforum/images/crests/ars14x14.png

Lynne
05-27-2014, 07:28 PM
I'm still not seeing the CSS. But, I did click on the link for the icon here - http://www.premierleagueforum/images/crests/ars14x14.png - and I get a google error. It should be http://www.premierleagueforum.co.uk/images/crests/ars14x14.png

Spangle
05-27-2014, 08:51 PM
I'm still not seeing the CSS. But, I did click on the link for the icon here - http://www.premierleagueforum/images/crests/ars14x14.png - and I get a google error. It should be http://www.premierleagueforum.co.uk/images/crests/ars14x14.png

It's definitely in css_additional.css

/* Start Subforum Icons*/
.forum-list-container .subforum-list .subforum-item.icon,
.forum-list-container .forum-item.sub .cell-forum .icon {
background: transparent url("images/css/sprite_icons_vb_{vb:stylevar textdirection}.png") no-repeat scroll -272px -208px;
display: inline-block;
height: 11px;
width: 10px;
margin-{vb:stylevar right}: 7px;
margin-top:2px;
float:{vb:stylevar left};
}
.forum-list-container .subforum-list .subforum-item .icon.new,
.forum-list-container .forum-item.sub.new .cell-forum .icon {
background: transparent url("images/css/sprite_icons_vb_{vb:stylevar textdirection}.png") no-repeat scroll -256px -208px;
}

/*End Subforum Icons*/

Lynne
05-27-2014, 11:07 PM
Except the only examples I see right now are for forums with new posts and you only added the css for regular sub-forums with old posts (as I said, use firebug to get this stuff).

and you certainly don't want the stuff regarding the position unless you are using a sprite (which is why they would 'disappear' when you used the CSS for the old posts forums) and your image is not 10x11, it's 14x14, so you need to put those dimensions in.

.forum-list-container .subforum-list .subforum-item .icon.new, .forum-list-container .forum-item.sub.new .cell-forum .icon {
background: url("http://www.premierleagueforum.co.uk/images/crests/ars14x14.png") rgba(0, 0, 0, 0);
display: inline-block;
height: 14px;
width: 14px;
}


and, this image seems to be missing from your site (for your Support & Feedback forum):
images/icons/suppico.png

classicrv
08-20-2014, 05:20 PM
This is what I use to change the icons:
.forum-list-container .forum-item .cell-forum .icon {
background: url("path/here/image_old.png") no-repeat;
height: 20px;
width: 20px;
}
.forum-list-container .forum-item.new .cell-forum .icon {
background: url("path/here/image_new.png") no-repeat;
}[/QUOTE]

This works great! Thanks Lynne!:up:

Is there a way to modify it to work for the topic status icons too?

This seems to be working. Proud of myself! (patting self on back)

/*Changing topic status icons - Lynne's forum icon code modified*/
.topic-list-container .topic-item.read .cell-topic .vb-icon-topic-status {
background: url("path/here/image_old.png") no-repeat;
height: 20px;
width: 20px;
}
.topic-list-container .topic-item .cell-topic .vb-icon-topic-status {
background: url("path/here/image_new.png") no-repeat;
}