AdminCP > Topic Prefixes > Topic Prefix Manager > Add Prefix or Edit (existing prefix)
Announcement
Collapse
No announcement yet.
Topic Prefix style that rocks!
Collapse
X
-
Glenn where am I going wrong here?
I have this in the βRich Textβ
HTML Code:<span class="prefix-1" title="This is the hover text and it is optional">Sticky</span>
Code:/* Topic Prefix custom style - START */ /* Common styles for all prefixes */ .js-topic-prefix [class^="prefix-"], .search-module-prefix [class^="prefix-"], .b-post__title [class^="prefix-"], .post-action-wrapper [class^="prefix-"] { padding: 2px; font-size: 11px; font-weight: bold; border-radius: 3px; position: relative; bottom: 2px; text-transform: uppercase; white-space: nowrap; } .post-action-wrapper [class^="prefix-"] { padding: 1px 2px; bottom: 1px; } .search-module-prefix [class^="prefix-"] { bottom: 1px; } .b-post__title [class^="prefix-"] { padding: 1px 2px; } /* Separate styles for each prefix type */ .js-topic-prefix .prefix-1, .search-module-prefix .prefix-1, .b-post__title .prefix-1, .post-action-wrapper .prefix-1 { color: #fff; border: 1px solid #008000; background-color: rgba(0, 128, 0, 0.8); } .js-topic-prefix .prefix-Sticky, .search-module-prefix .prefix-Sticky, .b-post__title .prefix-Sticky, .post-action-wrapper .prefix-Sticky { color: #fff; border: 1px solid #ed143d; background-color: rgba(237, 20, 61, 0.85); } /* Topic Prefix custom style - END */
2 Photos
- Top
- Translate
- Bottom
Comment
-
Originally posted by Mitch View PostGlenn where am I going wrong here?
I have this in the βRich Textβ
HTML Code:<span class="prefix-1" title="This is the hover text and it is optional">Sticky</span>
Code:/* Topic Prefix custom style - START */ /* Common styles for all prefixes */ .js-topic-prefix [class^="prefix-"], .search-module-prefix [class^="prefix-"], .b-post__title [class^="prefix-"], .post-action-wrapper [class^="prefix-"] { padding: 2px; font-size: 11px; font-weight: bold; border-radius: 3px; position: relative; bottom: 2px; text-transform: uppercase; white-space: nowrap; } .post-action-wrapper [class^="prefix-"] { padding: 1px 2px; bottom: 1px; } .search-module-prefix [class^="prefix-"] { bottom: 1px; } .b-post__title [class^="prefix-"] { padding: 1px 2px; } /* Separate styles for each prefix type */ .js-topic-prefix .prefix-1, .search-module-prefix .prefix-1, .b-post__title .prefix-1, .post-action-wrapper .prefix-1 { color: #fff; border: 1px solid #008000; background-color: rgba(0, 128, 0, 0.8); } .js-topic-prefix .prefix-Sticky, .search-module-prefix .prefix-Sticky, .b-post__title .prefix-Sticky, .post-action-wrapper .prefix-Sticky { color: #fff; border: 1px solid #ed143d; background-color: rgba(237, 20, 61, 0.85); } /* Topic Prefix custom style - END */
IΒ΄ve version 5.6.4
works only in Forumbit not Forumhome
- Top
- Translate
- Bottom
Comment
-
Originally posted by lange View PostI don't use this mod, I use the Prefix option of vBulletin.Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & IONOS
- Top
- Translate
- Bottom
Comment
-
This mod does not change where prefixes are displayed. It just styles them wherever they are displayed. Prefixes show up in forum channel display, forum channel directory Last Post column, topic first post, Search module (Topic view). I think by default it does not show on Search module (Default view).Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & IONOS
- Top
- Translate
- Bottom
Comment
Users Viewing This Page
Collapse
There is 1 user viewing this forum topic.
- Guest
Latest Posts
Collapse
-
Comment on Topic Starter Ribbon for vBCloudby glennrocksvbThanks for confirming the fix works.Yesterday, 08:20 AM
-
Get Affordable and Fast VPS for vBulletin -
Reply to Topic Starter Ribbon for vBCloudby MitchSeems to have done the trick
TYYesterday, 07:40 AM -
Reply to Topic Starter Ribbon for vBCloudby glennrocksvbI have updated the template code in the first post. Please try it again.Yesterday, 06:38 AM
Comment