![]() |
Forum Borders / Gridlines
*I've moved to a new thread in the correct forum, please delete this thread*
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 : Code:
.forum-list-container { border-spacing: 3px; } 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: Code:
.cell-count { |
bump!
|
Quote:
|
Quote:
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?) |
Quote:
You may also want to change the thread title, as it doesn't really describe what you are trying to do |
Quote:
I totally agree, it must be achievable and I would have thought they would be able to do it. |
Quote:
|
Quote:
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... |
Quote:
When you get the desired effect search for the css in templates, or add it to the css additional css. |
Quote:
|
Quote:
Have you tried entering it into additional css ? |
Quote:
|
Quote:
Code:
{ http://www.w3schools.com/css/css_border.asp |
Quote:
Code:
.cell-forum { 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! |
Quote:
If you search W3 Schools there should be an answer in there. |
Quote:
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: |
Quote:
Code:
.forum-list-container .forum-item .cell-forum > .forum-wrapper > .forum-info {padding-left: 45px;} |
Quote:
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 : Code:
/* Moving the lastpost feed slightly away from the cell border to have a margin between the wrapper and the cell wall */ Any help is much appreciated! |
Quote:
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. |
Quote:
Code:
.forum-list-container.stretch .subforum-list {border-color:red;border-width:1px;border-style:solid} |
Quote:
|
Quote:
--------------- Added [DATE]1401042273[/DATE] at [TIME]1401042273[/TIME] --------------- Code:
.forum-list-container.stretch .category-header td {border-style:solid} https://vborg.vbsupport.ru/external/2014/05/9.png |
This is what I use on my vB5 site for the main page:
HTML Code:
/* border on homepage */ HTML Code:
.forum-list-container .forum-item .cell-forum .icon { |
Quote:
The border styling should not be applied to it then |
Quote:
Code:
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 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. |
Quote:
That looks loads better than my attempt. I guess I need to have a bit more practice, huh? |
Quote:
|
Quote:
|
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. |
Quote:
|
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.
|
Quote:
http://www.premierleagueforum.co.uk/ The code I have tried to alter is copied from css_global.css and pasted into css.additional.css Code:
.forum-list-container .subforum-list .subforum-item .icon, |
Quote:
Code:
/* border of topics pages */ |
Quote:
|
Quote:
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. Code:
.forum-list-container .subforum-list .subforum-item**.icon, Link to forum is http://www.premierleagueforum.co.uk |
This is the link to your css_additional.css file:
http://www.premierleagueforum.co.uk/...&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. |
Quote:
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:http://www.premierleagueforum/images...s/ars14x14.png |
I'm still not seeing the CSS. But, I did click on the link for the icon here - http://www.premierleagueforum/images...s/ars14x14.png - and I get a google error. It should be http://www.premierleagueforum.co.uk/...s/ars14x14.png
|
Quote:
Code:
/* Start Subforum Icons*/ |
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. HTML Code:
.forum-list-container .subforum-list .subforum-item .icon.new, .forum-list-container .forum-item.sub.new .cell-forum .icon { images/icons/suppico.png |
All times are GMT. The time now is 05:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|