The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#31
|
||||
|
||||
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.
|
#32
|
|||
|
|||
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, .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; } |
#33
|
|||
|
|||
Quote:
Code:
/* 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 |
#34
|
||||
|
||||
Quote:
|
#35
|
|||
|
|||
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, .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; } Link to forum is http://www.premierleagueforum.co.uk |
#36
|
||||
|
||||
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. |
#37
|
|||
|
|||
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 |
#38
|
||||
|
||||
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
|
#39
|
|||
|
|||
Quote:
Code:
/* 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*/ |
#40
|
||||
|
||||
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 { background: url("http://www.premierleagueforum.co.uk/images/crests/ars14x14.png") rgba(0, 0, 0, 0); display: inline-block; height: 14px; width: 14px; } images/icons/suppico.png |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|