vB6 only uses horizontal postbit layout when in mobile view but not in desktop view. If you want to also do it on desktop, then you are in the right place!
Here are the instructions. This is compatible with self-hosted vB6 and vBCloud. For vB5, you can get it here.
β
Here are the instructions. This is compatible with self-hosted vB6 and vBCloud. For vB5, you can get it here.
- Log in to the forum with Can Use Sitebuilder permissions. Typically, users in Administrator usergroup have this permission.
- Navigate to a topic page.
- Toggle Edite Site to ON.
- Click Edit Page
- Find the Static HTML Module under the Add Modules tab.
- Drag the module and drop it onto the page above the Conversation Detail Module. Make sure it is placed right above and not below the Conversation Detail Module.
- Edit the Static HTML Module by clicking the Pencil icon.
- Configure the module with the following settings:
- Title - Horizontal Postbit Layout JS
- Show module at these screen sizes: - uncheck all 3 checkboxes. Doing this will still render the module but it will be hidden via CSS. We don't want to show this module as it will only contain CSS and JS.
- Module HTML - paste the following code:
HTML Code:<style> .l-desktop #thread-view-tab .conversation-content .thread-view:not(.l-small) { opacity: 0; } </style> <script> document.addEventListener('readystatechange', function() { if (document.readyState === "interactive") { var threadView = document.querySelector('.l-desktop #thread-view-tab .conversation-content .thread-view'); if (threadView) { threadView.classList.add('l-small'); } } }); </script>
- Module Permissions - Choose "Show to all Usergroups" radio button.
- Hide Titleβ - Choose Yes or No, it doesn't matter as the module is not shown anyway
- Click the Save button.
- Reload the page.
β




Comment