vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=264)
-   -   Forum Borders / Gridlines (https://vborg.vbsupport.ru/showthread.php?t=311446)

Spangle 05-24-2014 03:33 PM

Quote:

Originally Posted by aleheroix (Post 2499205)
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

Quote:

Originally Posted by Spangle (Post 2499226)
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

Quote:

Originally Posted by aleheroix (Post 2499263)
Thats how I have been adding it ;)

try something along these lines ?

Code:

{
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

Quote:

Originally Posted by Spangle (Post 2499264)
try something along these lines ?

Code:

{
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...

Code:

.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

Quote:

Originally Posted by aleheroix (Post 2499291)
I've gotten this far...

Code:

.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

Quote:

Originally Posted by Spangle (Post 2499330)
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

Quote:

Originally Posted by aleheroix (Post 2499334)
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

Code:

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

aleheroix 05-25-2014 03:00 PM

Quote:

Originally Posted by Spangle (Post 2499335)
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

Code:

.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 :
Code:

/* 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

Quote:

Originally Posted by aleheroix (Post 2499348)
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 :
Code:

/* 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

Quote:

Originally Posted by Spangle (Post 2499349)
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 :
Code:

.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 ".")


All times are GMT. The time now is 03: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
  • Page Generation 0.02031 seconds
  • Memory Usage 1,798KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete