Announcement

Collapse
No announcement yet.

Forum Category Spacing on Homepage (no template editing required and vBCloud compatible)

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Me&Him
    replied
    I have made the changes as in
    https://vbmods.rocks/forum/vbulletin...oud-compatible
    nothing seems to have changed, below is the forum layout we currently have and the image below that is what we are looking for, you can see here








    This is what I am looking for coloured bar including title as below, then forums listed below 1 forum per row not 3 forum per row as in the example I have shown above.




    These are the changes I have currently made



    Could not include image of Forum Catergory Spacing text, will add to to next post


    Sorry for being a pain in the arse

    Steve
    Last edited by Me&Him; 10-29-2018, 01:28 PM. Reason: spelling mistakes

    Leave a comment:


  • faustvasea
    replied
    Looks like a lot of codes here seems to not work properly or messing up my forum. Tried couples.....

    Leave a comment:


  • faustvasea
    replied
    I was trying to add this code to my forum, and does not work. Any help ?

    Leave a comment:


  • Blackhorse
    commented on 's reply
    Hello Glenn,

  • glennrocksvb
    replied
    Post a link to your site Blackhorse

    Leave a comment:


  • Mitch
    replied
    Just installed on 5.4.2 and it works fine

    Leave a comment:


  • Blackhorse
    replied
    I have tried this for my Vbulletin 5.4.2, and it didn't work, no separation but may be colour changes only, so please if you can review if i have something wrong!

    Thank you

    Leave a comment:


  • chicoynano
    replied
    Thank you very much, it works perfect for me

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    Untick or uncheck it and save.

  • keyuramin
    replied

    My css_additional.css is having a text box checked or ticked on.

    Should I have to untick that text only option?

    Please advise.

    Leave a comment:


  • glennrocksvb
    replied
    For self-hosted version, I prefer adding custom CSS directly via css_additional template rather than via Sitebuilder CSS Editor.

    This is a different issue but there's a limitation in Sitebuilder CSS Editor where the saved CSS does not evaluate stylevars and template conditionals.

    For example, you should be able to add this CSS and the stylevars should be evaluated with the appropriate values.

    Code:
    .test {
        margin-{vb:stylevar left}: 10px;
        color: {vb:stylevar body_link_color};
        font: {vb:stylevar body_font};
    }
    If you save that directly via css_additional template in AdminCP, it may look something like this when css is generated:

    Code:
    .test {
        margin-left: 10px;
        color: #001F68;
        font: 16px Helvetica,Arial,Verdana,sans-serif;
    }
    But if you are in vBCloud and save that via Sitebuilder CSS Editor, the CSS will be treated as plain text and stylevars will not be evaluated. This happens because in vBCloud, the "Text Only" option is checked by default when you save the CSS in the Sitebuilder CSS Editor. You cannot uncheck it because there is no UI provided for it in the CSS Editor.

    When you are in AdminCP, the "Text Only" option is unchecked by default and there is a UI provided for it. If you check it, it will behave like what CSS Editor in vBCloud does.

    Click image for larger version  Name:	image.png Views:	1 Size:	15.6 KB ID:	8611

    vBulletin did this for the sake of vBCloud apparently for security reasons(?) but unfortunately it affects not just vBCloud but also self-hosted version.

    I have created a JIRA for this more than a year ago. Please vote for it.






    Leave a comment:


  • keyuramin
    replied
    Yes, it worked when I posted in the css_additional template.

    Leave a comment:


  • glennrocksvb
    replied
    Are you in vBCloud? If not, can you try doing it in css_additional template in AdminCP.

    Leave a comment:


  • keyuramin
    replied
    I am unable to make this work on my forum. I am using 5.3.4 and I am pasting the code in Styles > CSS Editor
    I am getting the following error: We were unable to save the css. Please try again and if the error persists, contact vBulletin support.
    It is saving file until this code
    #forum-tab.forum-category-spacing .forum-item-last .cell-forum:before {

    Last edited by keyuramin; 01-04-2018, 02:50 AM.

    Leave a comment:


  • glennrocksvb
    replied
    Here's how it looks when I tried it in vbulletin.com forums.

    Leave a comment:

Users Viewing This Page

Collapse

There is 1 user viewing this forum topic.

  • Guest Guest

Latest Posts

Collapse

Working...
X
Searching...Please wait.
An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.'
An unexpected error was returned: 'Your submission could not be processed because the token has expired.

Please push the back button and reload the previous window.'
An internal error has occurred and the module cannot be displayed.
There are no results that meet this criteria.
Search Result for "|||"