I've closed this topic as:
1. It's 6 years old and unrelated to your issue and
2. You've got another topic on this open as well...
Please don't post multiple times on the same issue. Additionally, topics from years ago will be based on significantly older versions of vBulletin and not the version you're running....
vb5 temp fix for custom forum icons(any size)
Collapse
This topic is closed.
X
X
-
Thank you so much, now I just need to find out why 2 of mine are not displaying as transparent background when they are or should be.
Any ideas on that?Leave a comment:
-
-
-
Why can't vbulletin give us an option for custom icons in the channel editor we can just specify the path there for each channel...Leave a comment:
-
Try my suggestion here.
https://www.vbulletin.com/forum/foru...79#post4376479
That also applies here.
I've tried, but it's still the same.
What I see that is causing this mismatch is this:
excuse my ignorance, please
Leave a comment:
-
👍 1Leave a comment:
-
Thank you very much, Glenn Vergara
I am testing with this code. someone knows the way in the responsive method, the thread title is left.
Please.
Thank you.
Code:/* start custom forum icons */ /* Forums */ .forum-list-container .forum-item[data-channel-id="45"] .cell-forum .icon { background: transparent url("http://www.example.com/images/statusicon/sorteoforum_old-48.svg") no-repeat; /* forum icon for forums with old posts */ width: 50px; /* icon width */ height: 50px; /* icon height */ } .forum-list-container .forum-item[data-channel-id="45"] .new .cell-forum .icon { background: transparent url("http://www.example.com/images/statusicon/sorteoforum_old-48.svg") no-repeat; /* forum icon for forums with new posts */ width: 40px; /* icon width */ height: 42px; /* icon height */ } .forum-list-container .forum-item[data-channel-id="45"] .cell-forum > .forum-wrapper > .forum-info { padding-{vb:stylevar left}: 48px; /* icon width + 8 */ } .forum-list-container .forum-item[data-channel-id="45"] .cell-forum .forum-desc { margin-{vb:stylevar left}: 48px; /* icon width + 8 */ margin-top: -25px; /* 17 - icon height */ } /* Sub Forums */ .forum-list-container .subforum-list > td { padding-{vb:stylevar left}: 53px; /* icon width + 13 */ } /* Responsive */ [USER="3396"]media[/USER] only screen and (max-width: 768px) { .forum-list-container .forum-item .cell-forum .forum-desc { margin-{vb:stylevar left}: 48px; /* icon width + 8 */ } .forum-list-container .subforum-list > td { padding-{vb:stylevar left}: 73px; /* icon width + 33 */ } } /* end custom forum icons */
Last edited by applemaniacos; Sat 2 Sep '17, 10:57pm.Leave a comment:
-
Can't get the sub forum icons to work...Here's my code:
Code:/* forum icon for forums with old posts (default) */ #forum39 .cell-forum .icon { background: transparent url("images/css/icon_checked.png") no-repeat; } /* forum icon for forums with new posts */ #forum39 .cell-forum .icon { background: transparent url("images/css/icon_notchecked.png") no-repeat; }
Leave a comment:
-
Thanks, I did get help with the code...Here's what ended up working for me, including responsive...
Code:.forum-list-container .forum-item .cell-forum .forum-desc { margin-left: 40px; } .forum-list-container .forum-item .cell-forum > .forum-wrapper > .forum-info { padding-left: 40px; } /* start custom forum icons */ /* Forums */ .forum-list-container .forum-item .cell-forum .icon { background: transparent url("images/css/icon_checked.png") no-repeat; /* forum icon for forums with old posts */ width: 40px; /* icon width */ height: 46px; /* icon height */ } .forum-list-container .forum-item.new .cell-forum .icon { background: transparent url("images/css/icon_notchecked.png") no-repeat; /* forum icon for forums with new posts */ width: 40px; /* icon width */ height: 46px; /* icon height */ } .forum-list-container .forum-item .cell-forum > .forum-wrapper > .forum-info { padding-{vb:stylevar left}: 48px; /* icon width + 8 */ } .forum-list-container .forum-item .cell-forum .forum-desc { margin-{vb:stylevar left}: 48px; /* icon width + 8 */ margin-top: -25px; /* 17 - icon height */ } /* Sub Forums */ .forum-list-container .subforum-list > td { padding-{vb:stylevar left}: 53px; /* icon width + 13 */ } /* Responsive */ [USER="3396"]media[/USER] only screen and (max-width: 768px) { .forum-list-container .forum-item .cell-forum .forum-desc { margin-{vb:stylevar left}: 48px; /* icon width + 8 */ } .forum-list-container .subforum-list > td { padding-{vb:stylevar left}: 73px; /* icon width + 33 */ } } /* end custom forum icons */
Leave a comment:
-
mess with the padding a bit...you can see where he put, like 73px = icon width +33...that can give u a closer idea whats neededLeave a comment:
-
I can't get my margins right...The icon butts up against the text...Here's the code and screen shot:
Code:/* start custom forum icons */ /* Forums */ .forum-list-container .forum-item .cell-forum .icon { background: transparent url("images/css/icon_checked.png") no-repeat; /* forum icon for forums with old posts */ width: 40px; /* icon width */ height: 42px; /* icon height */ } .forum-list-container .forum-item.new .cell-forum .icon { background: transparent url("images/css/icon_notchecked.png") no-repeat; /* forum icon for forums with new posts */ width: 40px; /* icon width */ height: 42px; /* icon height */ } .forum-list-container .forum-item .cell-forum > .forum-wrapper > .forum-info { padding-{vb:stylevar left}: 48px; /* icon width + 8 */ } .forum-list-container .forum-item .cell-forum .forum-desc { margin-{vb:stylevar left}: 48px; /* icon width + 8 */ margin-top: -25px; /* 17 - icon height */ } /* Sub Forums */ .forum-list-container .subforum-list > td { padding-{vb:stylevar left}: 53px; /* icon width + 13 */ } /* Responsive */ [USER="3396"]media[/USER] only screen and (max-width: 768px) { .forum-list-container .forum-item .cell-forum .forum-desc { margin-{vb:stylevar left}: 48px; /* icon width + 8 */ } .forum-list-container .subforum-list > td { padding-{vb:stylevar left}: 73px; /* icon width + 33 */ } } /* end custom forum icons */
1 PhotoLeave a comment:
-
Thanks very much for this; it worked perfectly for the main icons.
Can you tell me what code I would need to add to change the small sub-forum icons on the main page. I'm happy with the size, I just want to change the shape and colour. Thank you for your help.
Last edited by Robyn L; Sun 3 Sep '17, 12:48am.Leave a comment:
Related Topics
Collapse
-
by Jblevins02I used this tcss to change forum icons, but when I did it did this to channel description. How can i fix?
/* start custom forum icons */
/* Forums */
.forum-list-container .forum-item...1 Photo-
Channel: Support Issues & Questions
-
-
by DanloonaHello i have an issue like that :
The code which i'm using in css.additional.css is:
PHP Code:/* start custom forum icons */
/* Forums */
.forum-list-container .forum-item
-
Channel: Support Issues & Questions
-
-
by DanloonaHello , i have an issue with space on subforums and sticky icons
How can i fix it?
Code from css_additional.css:
PHP Code:.forum-list-container .forum-item.new
-
Channel: Support Issues & Questions
-
-
I have found a code in the forums to add customary icons for categories but it is not working. Any help?
The code (after changing the path to the image is below):
PHP Code:/* icon for forum
-
Channel: Support Issues & Questions
-
-
by Flash04jvMe again! I'm sure you are all getting tired of me . We are dangerously close to having our forum all set up though, so the faster I can make these changes the faster I go away.
I got the...-
Channel: vB Cloud Support & Troubleshooting.
-
Leave a comment: